Link Search Menu Expand Document

Check Job Status - C#

Background Jobs Check sample in C# demonstrating ‘Check Job Status’

ManageBackgroundJob.cs
using System;
using RestSharp;
namespace HelloWorldApplication {
		class HelloWorld {
				static void Main(string[] args) {
						var client = new RestClient("https://api.pdf.co/v1/job/check");
						client.Timeout = -1;
						var request = new RestRequest(Method.POST);
						request.AddHeader("x-api-key", "{{x-api-key}}");
						request.AlwaysMultipartFormData = true;
						request.AddParameter("jobid", "123");
						IRestResponse response = client.Execute(request);
						Console.WriteLine(response.Content);
				}
		}
}

PDF.co Web API: the Web API with a set of tools for documents manipulation, data conversion, data extraction, splitting and merging of documents. Includes image recognition, built-in OCR, barcode generation and barcode decoders to decode bar codes from scans, pictures and pdf.

Get your PDF.co API key here!

Download Source Code (.zip)

return to the previous page explore Background Jobs Check endpoint