EntrustSignhostClientLibrary 3.0.585
See the version list below for details.
dotnet add package EntrustSignhostClientLibrary --version 3.0.585
NuGet\Install-Package EntrustSignhostClientLibrary -Version 3.0.585
<PackageReference Include="EntrustSignhostClientLibrary" Version="3.0.585" />
paket add EntrustSignhostClientLibrary --version 3.0.585
#r "nuget: EntrustSignhostClientLibrary, 3.0.585"
// Install EntrustSignhostClientLibrary as a Cake Addin #addin nuget:?package=EntrustSignhostClientLibrary&version=3.0.585 // Install EntrustSignhostClientLibrary as a Cake Tool #tool nuget:?package=EntrustSignhostClientLibrary&version=3.0.585
Signhost client library
This is a client library in c# to demonstrate the usage of the Signhost API using .NET. You will need a valid APPKey and APIKey. You can request an APPKey here.
Install
Get it on NuGet:
PM> Install-Package SignhostClientLibrary
Example code
The following code is an example of how to create and start a sign transaction with two documents.
var client = new SignHostApiClient(new SignHostApiClientSettings("AppName appkey", "apikey or usertoken"));
var transaction = await client.CreateTransactionAsync(new Transaction
{
Signers = new List<Signer>
{
new Signer
{
Email = "john.doe@example.com",
SignRequestMessage = "Could you please sign this document?",
SendSignRequest = true,
/*
* The verifications listed here are executed in order.
* Your last verification _must_ be one of the following:
* - PhoneNumberVerification
* - ScribbleVerification
* - ConsentVerification
*/
Verifications = new List<IVerification> {
new PhoneNumberVerification {
Number = "+3161234567890"
},
new ScribbleVerification {
ScribbleName = "John Doe",
RequireHandsignature = true,
},
}
}
}
});
await client.AddOrReplaceFileToTransactionAsync("PathToFile", transaction.Id, "First document", new FileUploadOptions());
await client.AddOrReplaceFileToTransactionAsync("PathOtherFile", transaction.Id, "General agreement", new FileUploadOptions());
/* When everything is setup we can start the transaction flow */
await client.StartTransactionAsync(transaction.Id);
Migration Guides
Please refer to the migration notes in our migration guides.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.4 is compatible. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.5
- Newtonsoft.Json (>= 9.0.1)
- System.ValueTuple (>= 4.3.1)
-
.NETStandard 1.4
- NETStandard.Library (>= 1.6.1)
- Newtonsoft.Json (>= 9.0.1)
- System.Security.Cryptography.Algorithms (>= 4.3.1)
- System.ValueTuple (>= 4.3.1)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 9.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.0.584-preview | 82 | 5/1/2024 |
3.0.585 | 160 | 5/1/2024 |
* 3.0.0 - Bumped verifications support and added .net core target
* 2.3.0 - Added support for custom forms creation over the API
* 2.2.2 - Added basic parameter validation
* 2.2.1 - Improved errorhandling
* 2.2.0 - Add fillable PDFs api call
* 2.1.0 - Lowered minimum framework from 4.5.2 to 4.5
* 2.0.0 - First release using new multidoc API.