项目作者: groupdocs-conversion-cloud

项目描述 :
.NET SDK to work with the GroupDocs.Conversion Cloud API. Convert between 50+ document & image formats with zero initial cost.
高级语言: C#
项目地址: git://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-dotnet.git


GroupDocs.Conversion Cloud SDK for .NET

This repository contains GroupDocs.Conversion Cloud SDK for .NET source code. This SDK allows you to work with GroupDocs.Conversion 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

  1. using System;
  2. using System.Diagnostics;
  3. using GroupDocs.Conversion.Cloud.Sdk.Api;
  4. namespace Example
  5. {
  6. public class Example
  7. {
  8. public void Main()
  9. {
  10. //TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
  11. var appSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
  12. var appKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
  13. var api = new InfoApi(appSid, appKey);
  14. try
  15. {
  16. // Get supported file formats
  17. var formats = api.GetSupportedConversionTypes(new GetSupportedConversionTypesRequest());
  18. foreach (var format in formats)
  19. {
  20. Debug.Print(format.SourceFormat);
  21. }
  22. }
  23. catch (Exception e)
  24. {
  25. Debug.Print("Something went wrong: " + e.Message);
  26. }
  27. }
  28. }
  29. }

Licensing

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

Resources

+Website
+Product Home
+Documentation
+Free Support Forum
+Blog

Contact Us

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