public static void Run()
        {
            var configuration = new Configuration(Common.MyAppSid, Common.MyAppKey);
            var apiInstance   = new AnnotateApi(configuration);

            try
            {
                // Set request.
                var request = new GetExportRequest()
                {
                    filePath        = "Annotationdocs\\ten-pages.pdf",
                    password        = null,
                    annotatedPages  = true,
                    annotationTypes = null,
                    firstPage       = 1,
                    lastPage        = 2
                };

                Stream response = apiInstance.GetExport(request);
                Console.WriteLine("Expected response type is Stream: Document Length: " + response.Length.ToString());
                using (var fileStream = File.Create("D:\\Results-ten-pages.pdf"))
                {
                    response.Seek(0, SeekOrigin.Begin);
                    response.CopyTo(fileStream);
                }
            }
            catch (Exception e)
            {
                Console.WriteLine("Exception while calling Annotation AnnotateApi: " + e.Message);
            }
        }