using System; using System.Collections; using System.Web.Script.Serialization; using Browshot; class Example { static void Main() { var client = new BrowshotClient(Environment.GetEnvironmentVariable("BROWSHOT_API_KEY")); var result = client.ScreenshotCreate("https://example.com/", new Hashtable { { "apps", new[] { "archive", "notify" } } }); Console.WriteLine(new JavaScriptSerializer().Serialize(result)); } }