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.Rewriter-Cloud

Requirements
Quick Start
Get your API credentials
To use GroupDocs.Rewriter 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.Rewriter Cloud SDK for .NET.
using GroupDocs.Rewriter.Cloud.Sdk.Api;
using GroupDocs.Rewriter.Cloud.Sdk.Client;
using GroupDocs.Rewriter.Cloud.Sdk.Client.Auth;
var config = new Configuration();
config.OAuthFlow = OAuthFlow.APPLICATION;
config.OAuthClientId = "YourClientId";
config.OAuthClientSecret = "YourClientSecret";
config.BasePath = "https://api.groupdocs.cloud/v2.0/rewriter";
var apiInstance = new ParaphraseApi(config);
See ParaphraseApiTests.cs for more details.
Paraphrase plain text
This example requests two paraphrases of an English sentence and waits for the result.
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using GroupDocs.Rewriter.Cloud.Sdk.Api;
using GroupDocs.Rewriter.Cloud.Sdk.Client;
using GroupDocs.Rewriter.Cloud.Sdk.Client.Auth;
using GroupDocs.Rewriter.Cloud.Sdk.Model;
var config = new Configuration();
config.OAuthFlow = OAuthFlow.APPLICATION;
config.OAuthClientId = "YourClientId";
config.OAuthClientSecret = "YourClientSecret";
config.BasePath = "https://api.groupdocs.cloud/v2.0/rewriter";
var apiInstance = new ParaphraseApi(config);
var textRequest = new ParaphraseTextRequest("en");
textRequest.Text = "Hello, everyone! We will try to rephrase this text into something new.";
textRequest.DiversityDegree = DegreeEnum.Medium;
textRequest.Suggestions = ParaphraseTextRequest.SuggestionsEnum.Two;
textRequest.Origin = "test";
var response = apiInstance.ParaphraseTextPost(textRequest);
while (true)
{
var result = apiInstance.ParaphraseTextRequestIdGet(response.Id);
if (Enum.Parse<HttpStatusCode>(result.Status?.ToString() ?? "400") == HttpStatusCode.OK)
{
foreach (var text in result.ParaphraseResults)
{
Console.WriteLine(text);
}
break;
}
Thread.Sleep(1000);
}
See ParaphraseApiTests.cs for more details.
Paraphrase a Word document
This example uploads a DOCX file, paraphrases it, and prints the result URL.
using System;
using System.IO;
using System.Net;
using System.Threading;
using GroupDocs.Rewriter.Cloud.Sdk.Api;
using GroupDocs.Rewriter.Cloud.Sdk.Client;
using GroupDocs.Rewriter.Cloud.Sdk.Client.Auth;
using GroupDocs.Rewriter.Cloud.Sdk.Model;
var config = new Configuration();
config.OAuthFlow = OAuthFlow.APPLICATION;
config.OAuthClientId = "YourClientId";
config.OAuthClientSecret = "YourClientSecret";
config.BasePath = "https://api.groupdocs.cloud/v2.0/rewriter";
var apiInstance = new ParaphraseApi(config);
var fileApi = new FileApi(config);
var file = File.OpenRead("rewriter_test.docx");
var url = fileApi.FileUploadPost("Docx", file);
var request = new ParaphraseFileRequest("en");
request.Format = ParaphraseSupportedFormats.Docx;
request.OutputFormat = SupportedConversionsFormats.Docx;
request.DiversityDegree = DegreeEnum.Medium;
request.Url = url;
request.SavingMode = FileSavingMode.Files;
request.Origin = "test";
request.OriginalName = "rewriter_test.docx";
var response = apiInstance.ParaphraseDocumentPost(request);
while (true)
{
var result = apiInstance.ParaphraseDocumentRequestIdGet(response.Id);
if (Enum.Parse<HttpStatusCode>(result.Status?.ToString() ?? "400") == HttpStatusCode.OK)
{
Console.WriteLine(result.Url);
break;
}
Thread.Sleep(1000);
}
See ParaphraseApiTests.cs for more details.
Examples on GitHub
The GroupDocs.Rewriter Cloud .NET SDK repository contains the SDK, a demo project, and the API tests. There is no separate examples repository.
How to run the examples
- Clone or download the SDK repository
- Open the .NET demo project
- Set your Client ID and Client Secret
- Run the demo
For more details, visit Getting Started.
