.NET library for communicating with the GroupDocs.Viewer Cloud API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
GroupDocs.Viewer.Cloud.Sdk.Test
GroupDocs.Viewer.Cloud.Sdk
.gitignore
GroupDocs.Viewer.Cloud.Sdk.sln
LICENSE
README.md

README.md

GroupDocs.Viewer Cloud SDK for .NET

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.

How to use the SDK?

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.

Dependencies

Getting Started

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);
            }
        }
    }
}

Licensing

All GroupDocs.Viewer Cloud SDKs are licensed under MIT License.

Resources

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.