This is an archived forum post. The information may be outdated. Contact us if you have any questions.
try { FileStream fileStream; pdfcrowd.Client client = new pdfcrowd.Client("myusername", "myAPIKey"); fileStream = new FileStream("file.pdf", FileMode.CreateNew); client.convertFile("d:/test.html", fileStream); =====> ERROR:Object reference not set to an instance of an object. } catch (pdfcrowd.Error why) { System.Console.WriteLine(why.ToString()); }