summaryrefslogtreecommitdiffstats
path: root/examples/scopes/scopes.cs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scopes/scopes.cs')
-rw-r--r--examples/scopes/scopes.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scopes/scopes.cs b/examples/scopes/scopes.cs
index 5dcf278..e4bab6d 100644
--- a/examples/scopes/scopes.cs
+++ b/examples/scopes/scopes.cs
@@ -1,7 +1,6 @@
using System;
using SendGrid.Helpers.Mail;
using System.Collections.Generic;
-using System.Net;
string _apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY", EnvironmentVariableTarget.User);
dynamic sg = new SendGrid.SendGridAPIClient(_apiKey);
@@ -14,4 +13,5 @@ dynamic response = sg.client.scopes.get();
Console.WriteLine(response.StatusCode);
Console.WriteLine(response.ResponseBody.ReadAsStringAsync().Result);
Console.WriteLine(response.ResponseHeaders.ToString());
+Console.ReadLine();