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.

Kurulum
Paket nuget.org adresinde kullanılabilir ve Paket Yöneticisi Konsolu üzerinden şu komutla yüklenebilir:
NuGet\Install-Package GroupDocs.Rewriter-Cloud

Gereksinimler
Hızlı başlangıç
API kimlik bilgilerinizi alın
GroupDocs.Rewriter Cloud kullanmak için GroupDocs.Cloud Panosu üzerinde kaydolun ve Client ID ile Client Secret değerlerini alın.
API’yi başlatma
GroupDocs.Rewriter Cloud SDK for .NET kullanmaya başlamak için aşağıdaki kodu kullanın.
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);
Daha fazla ayrıntı için ParaphraseApiTests.cs dosyasına bakın.
Düz metni yeniden ifade etme
Bu örnek bir İngilizce cümlenin iki yeniden ifadesini ister ve sonucu bekler.
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);
}
Daha fazla ayrıntı için ParaphraseApiTests.cs dosyasına bakın.
Word belgesini yeniden ifade etme
Bu örnek bir DOCX dosyası yükler, yeniden ifade eder ve sonuç URL’sini yazdırır.
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);
}
Daha fazla ayrıntı için ParaphraseApiTests.cs dosyasına bakın.
GitHub’daki örnekler
GroupDocs.Rewriter Cloud .NET SDK deposu SDK’yı, bir demo projeyi ve API testlerini içerir. Ayrı bir örnek deposu yoktur.
Örnekleri çalıştırma
- SDK deposu deposunu klonlayın veya indirin
- .NET demo projesini açın
- Client ID ve Client Secret değerlerini ayarlayın
- Demoyu çalıştırın
Daha fazla ayrıntı için Getting Started sayfasını ziyaret edin.
