This repository contains GroupDocs.Viewer Cloud SDK for .NET source code. This SDK allows you to work with GroupDocs.Viewer Cloud REST APIs in your .NET applications.
The complete source code is available in this repository folder, you can either directly use it in your project via NuGet package manager. For more details, please visit our documentation website.
using System;
using System.Diagnostics;
using GroupDocs.Viewer.Cloud.Sdk.Api;
namespace Example
{
public class Example
{
public void Main()
{
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
var appSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
var appKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
var api = new ViewerApi(appSid, appKey);
try
{
// Get supported file formats
var response = api.GetSupportedFileFormats();
foreach (var format in response.Formats)
{
Debug.Print(format.ToString());
}
}
catch (Exception e)
{
Debug.Print("Something went wrong: " + e.Message);
}
}
}
}
All GroupDocs.Viewer Cloud SDKs are licensed under MIT License.
Your feedback is very important to us. Please feel free to contact us using our Support Forums.