From 576d4b09b6803c022dc8cd6460d5ce72bd406816 Mon Sep 17 00:00:00 2001 From: Ergin008 Date: Tue, 18 Aug 2015 13:12:21 -0700 Subject: [PATCH 1/2] Update README.md --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bc8b5a244..67877fdc5 100644 --- a/README.md +++ b/README.md @@ -50,17 +50,15 @@ Users of your integration authenticate with DocuSign by making the Login API cal * password * Integrator Key -For example, to authenticate against the DocuSign demo environment (ie _demo.docusign.net_) you can use the following code: +For example, to authenticate against the DocuSign demo environment (ie _demo.docusign.net_) - which is where the DocuSign developer sandbox accounts operate in - you can use the following code: // configure application's integrator key and webservice url - RestSettings.Instance.IntegratorKey = ""; - RestSettings.Instance.DocuSignAddress = "http://demo.docusign.net"; - RestSettings.Instance.WebServiceUrl = RestSettings.Instance.DocuSignAddress + "/restapi/v2"; + RestSettings.Instance.IntegratorKey = "INTEGRATOR_KEY"; // credentials for sending account Account account = new Account(); - account.Email = ""; - account.Password = ""; + account.Email = "EMAIL"; + account.Password = "PASSWORD"; // make the Login API call bool result = account.Login(); From 5c07590f674e2ca9c1b0610cb273a28aef2cef44 Mon Sep 17 00:00:00 2001 From: Ergin008 Date: Tue, 18 Aug 2015 13:14:25 -0700 Subject: [PATCH 2/2] Remove un-needed configuration lines in sample --- Examples.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Examples.cs b/Examples.cs index b9eb2b1bb..55422d7b1 100644 --- a/Examples.cs +++ b/Examples.cs @@ -30,9 +30,6 @@ class TestProgram // Your Integrator Key can be found in your account Preferences -> API screen. protected const string IntegratorKey = "***"; - // update this once you move into production - protected const string Environment = "http://demo.docusign.net"; - static void Main(string[] args) { // Example #1... @@ -40,8 +37,6 @@ static void Main(string[] args) // configure application's integrator key, webservice url, and rest api version RestSettings.Instance.IntegratorKey = IntegratorKey; - RestSettings.Instance.DocuSignAddress = Environment; - RestSettings.Instance.WebServiceUrl = Environment + "/restapi/v2"; TestProgram test = new TestProgram(); test.SignatureRequestFromTemplate();