If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.

Installation
The package is available at nuget.org and it can be installed via the Package Manager Console by executing the following command:
NuGet\Install-Package GroupDocs.Comparison-Cloud

Requirements
- .NET Framework 2.0 or .NET Standard 2.0
- NuGet
- System.Web when targeting .NET Framework 2.0
- GroupDocs Cloud credentials — Client ID and Client Secret from the Dashboard
Quick Start
Get your API credentials
To use GroupDocs.Comparison Cloud, sign up at GroupDocs.Cloud Dashboard and get your Client ID and Client Secret.
Initialize the API
Use the following code to start using the GroupDocs.Comparison Cloud SDK for .NET.
using GroupDocs.Comparison.Cloud.Sdk.Api;
using GroupDocs.Comparison.Cloud.Sdk.Client;
string MyClientId = "YourClientId";
string MyClientSecret = "YourClientSecret";
var config = new Configuration(MyClientId, MyClientSecret);
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new CompareApi(config);
See the full example in Constants.cs.
Compare two documents
This example compares a source Word document with a target document.
using System.Collections.Generic;
using GroupDocs.Comparison.Cloud.Sdk.Api;
using GroupDocs.Comparison.Cloud.Sdk.Client;
using GroupDocs.Comparison.Cloud.Sdk.Model;
using GroupDocs.Comparison.Cloud.Sdk.Model.Requests;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new CompareApi(config);
var options = new ComparisonOptions
{
SourceFile = new FileInfo { FilePath = "source_files/word/source.docx" },
TargetFiles = new List<FileInfo> { new FileInfo { FilePath = "target_files/word/target.docx" } },
OutputPath = "output/result.docx"
};
var response = apiInstance.Comparisons(new ComparisonsRequest(options));
Console.WriteLine("Output file link: " + response.Href);
See the full example in CompareDocuments.cs.
Compare Password-Protected Documents
This example compares two password-protected Word documents.
using System.Collections.Generic;
using GroupDocs.Comparison.Cloud.Sdk.Api;
using GroupDocs.Comparison.Cloud.Sdk.Client;
using GroupDocs.Comparison.Cloud.Sdk.Model;
using GroupDocs.Comparison.Cloud.Sdk.Model.Requests;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new CompareApi(config);
var options = new ComparisonOptions
{
SourceFile = new FileInfo
{
FilePath = "source_files/word/source_protected.docx",
Password = "1231"
},
TargetFiles = new List<FileInfo>
{
new FileInfo
{
FilePath = "target_files/word/target_protected.docx",
Password = "5784"
}
},
OutputPath = "output/result.docx"
};
var response = apiInstance.Comparisons(new ComparisonsRequest(options));
Console.WriteLine("Output file link: " + response.Href);
See the full example in CompareProtectedDocuments.cs.
Get the List of Changes
This example returns the changes between two documents.
using System.Collections.Generic;
using GroupDocs.Comparison.Cloud.Sdk.Api;
using GroupDocs.Comparison.Cloud.Sdk.Client;
using GroupDocs.Comparison.Cloud.Sdk.Model;
using GroupDocs.Comparison.Cloud.Sdk.Model.Requests;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new CompareApi(config);
var options = new ComparisonOptions
{
SourceFile = new FileInfo { FilePath = "source_files/word/source.docx" },
TargetFiles = new List<FileInfo> { new FileInfo { FilePath = "target_files/word/target.docx" } }
};
var changes = apiInstance.PostChanges(new PostChangesRequest(options));
Console.WriteLine("Changes count: " + changes.Count);
See the full example in GetListOfChanges.cs.
Retrieve the formats the comparison API accepts.
using System.Linq;
using GroupDocs.Comparison.Cloud.Sdk.Api;
using GroupDocs.Comparison.Cloud.Sdk.Client;
var config = new Configuration("YourClientId", "YourClientSecret");
config.ApiBaseUrl = "https://api.groupdocs.cloud";
var apiInstance = new InfoApi(config);
var response = apiInstance.GetSupportedFileFormats();
foreach (var entry in response.Formats.Take(2))
{
Console.WriteLine($"{entry.Extension}: {entry.FileFormat}");
}
See the full example in GetSupportedFormats.cs.
Examples on GitHub
The GroupDocs.Comparison Cloud .NET Examples repository includes ready-to-run examples covering:
| Category | Examples |
|---|
| Compare | Two documents, password-protected documents, multiple documents, PDF |
| Changes | List of changes, accept or reject changes, change coordinates, revisions |
| Info | Document information, supported formats, preview |
How to run the examples
- Clone or download the examples repository
- Open
Examples/GroupDocs.Comparison.Cloud.Examples.CSharp.sln in Visual Studio 2017 or later - Right-click the solution and select Enable NuGet Package Restore
- Edit
Examples/GroupDocs.Comparison.Cloud.Examples.CSharp/RunExamples.cs and set Constants.MyClientId and Constants.MyClientSecret - Build and run
For more details, visit Getting Started.

Document Comparison API | .NET Cloud API | GroupDocs.Comparison Cloud | REST API | Document Comparison | Folder Comparison | Revision Control | Track Changes | Preview Generation | Multi-format Support | Password Protected Documents | Source Code Comparison | Change Tracking | Customization | Document Merging | Change Coordinates | Metadata Extraction | Document Security | File Formats | Document Review | Multi-language Support | Fast Processing | Secure API Access | Data Encryption | Cloud Storage Integration | GitHub Repository