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(); 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();