public static void ConvertInRequest() { string format = ExportFormat.Ppt.ToString(); //PPTX PPSX PPT PPS ODP PDF XPS PS PCL string inputFilePath = "D:/inputFile/convertInRequest.pptx"; System.IO.Stream document = new FileStream(inputFilePath, FileMode.Open); string password = null; var response = generalApi.ConvertInRequest(format, document, password); document.Close(); }