summaryrefslogtreecommitdiffstats
path: root/examples/devices/devices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/devices/devices.cs')
-rw-r--r--examples/devices/devices.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/devices/devices.cs b/examples/devices/devices.cs
index e480f3d..b7164db 100644
--- a/examples/devices/devices.cs
+++ b/examples/devices/devices.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);
@@ -21,4 +20,5 @@ dynamic response = sg.client.devices.stats.get(queryParams: queryParams);
Console.WriteLine(response.StatusCode);
Console.WriteLine(response.ResponseBody.ReadAsStringAsync().Result);
Console.WriteLine(response.ResponseHeaders.ToString());
+Console.ReadLine();