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.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/devices/devices.cs b/examples/devices/devices.cs
index 8bdc361..275f8b7 100644
--- a/examples/devices/devices.cs
+++ b/examples/devices/devices.cs
@@ -1,5 +1,6 @@
using System;
using SendGrid.Helpers.Mail; // If you are using the Mail Helper
+using Newtonsoft.Json; // You can generate your JSON string yourelf or with another library if you prefer
string _apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY", EnvironmentVariableTarget.User);
dynamic sg = new SendGrid.SendGridAPIClient(_apiKey);