using System; using Browshot; class Example { static void Main() { var client = new BrowshotClient(Environment.GetEnvironmentVariable("BROWSHOT_API_KEY")); var file = client.ScreenshotPdfFile(1103982291, "capture.pdf"); if (file == null) throw new InvalidOperationException("Download failed"); Console.WriteLine(file); } }