Skip to content

This is a client library in c# to demonstrate the usage of the signhost api using .net

Notifications You must be signed in to change notification settings

ATimmeh33/SignhostClientLibrary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Signhost client library

join gitter chat Build status Nuget package

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 a APPKey for signhost at ondertekenen.nl.

var client = new SignHostApiClient(new SignHostApiClientSettings("AppName appkey", "apikey"));

var transaction = await client.CreateTransaction(new Transaction
{
	Signers = new List<Signer>
	{
		new Signer
		{
			Email = "john.doe@example.com",
			ScribbleName = "John Doe",
			SignRequestMessage = "Could you please sign this document?"
		}
	}
});

await client.AddOrReplaceFileToTansaction("PathToFile",    transaction.Id, "First document");
await client.AddOrReplaceFileToTansaction("PathOtherFile", transaction.Id, "General agreement");

/* When everything is setup we can start the transaction flow */
await client.StartTransaction(transaction.Id);

Get it on NuGet:

PM> Install-Package SignhostClientLibrary

About

This is a client library in c# to demonstrate the usage of the signhost api using .net

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%