Skip to content
The Official DocuSign C# Client Library used to interact with the eSign REST API. Send, sign, and approve documents using this client.
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
sdk 3.1.4 Stable release updates Feb 25, 2019
.travis.yml Travis test on .Net Standard 2.0 Jul 31, 2018 3.1.4 Stable release updates Feb 25, 2019
LICENSE SDK updated with the API version 18.4.02 Feb 19, 2019
appveyor.yml 3.0.0 GA, travis and appveyor test updates. Aug 6, 2018
csharp-build.ps1 3.0.0 GA, travis and appveyor test updates. Aug 6, 2018

The Official DocuSign C# Client

Nuget version Nuget downloads Build status



  • .NET Standard 2.0. See .NET Standard Selector for details on versioning for the individual components in .NET Standard
  • .NET Core 2.0
  • Microsoft .NET version 4.5+
  • TLS 1.2


This open-source SDK is provided for cases where you would like to make additional changes that the SDK does not provide out-of-the-box. If you simply want to use the SDK with any of the examples shown in the Developer Center, follow the installation instructions below.


NuGet Package Manager:

  1. Create a new C# project, or open an existing one.
  2. Click Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution.
  3. Search for DocuSign.
  4. Select DocuSign.eSign.dll.
  5. Click the check box next to your project name.
  6. Click Install.

Package Manager Console:

  1. Open or create a new C# project.
  2. Open the Package Manager Console by either:
  3. Clicking Package Manager Console along the bottom of Visual Studio
  4. Clicking Tools -> NuGet Package Manager -> Package Manager Console
  5. In the Package Manager Console, type: Install-Package DocuSign.eSign.dll


This client has the following external dependencies:

.NET Standard v2 and .NET Core:

  • Microsoft.CSharp v4.5.0
  • Microsoft.IdentityModel.Protocols v5.2.2
  • Newtonsoft.Json 11.0.2
  • Portable.BouncyCastle v1.8.2
  • RestSharp v106.3.1
  • System.ComponentModel.Annotations v4.5.0
  • System.IdentityModel.tokens.Jwt v5.2.2

.NET Framework, version 4.5:

  • BouncyCastle v1.8.1
  • Microsoft.Identity.Model.Logging v1.1.4
  • Microsoft.IdentityModel.Tokens v5.1.14
  • Newtonsoft.Json v10.0.0.1
  • RestSharpSigned v105.2.3
  • System.IdentityModel.Tokens.Jwt v5.1.4

Code Examples


DocuSign provides a sample application referred to as a Launcher. The Launcher contains a set of 14 common use cases and associated source files. These examples use DocuSign's Authorization Code Grant flow.

Proof-of-concept applications

If your goal is to create a proof-of-concept application, DocuSign provides a set of Quick Start examples. The Quick Startexamples are meant to be used with DocuSign's OAuth Token Generator, which will allow you to generate tokens for the Demo/Sandbox environment only. These tokens last for eight hours and will enable you to build your proof-of-concept application without the need to fully implement an OAuth solution.

OAuth Implementations

For details regarding which type of OAuth grant will work best for your DocuSign integration, see the REST API Authentication Overview guide located on the DocuSign Developer Center.

For security purposes, DocuSign recommends using the Authorization Code Grant flow.

There are other use-case scenarios, such as single-page applications (SPA) that use Cross-Origin Resource Sharing (CORS), or where there may not be a user to interact with your Service Account. For these use cases, DocuSign also supports JWT and Implicit grants. For Code Examples, see the links below:


Log issues against this client through GitHub. We also have an active developer community on Stack Overflow.


The DocuSign C# Client is licensed under the MIT License.

You can’t perform that action at this time.