public static void CreatePptDocument() { string name = "createPptDocument.pptx"; System.IO.Stream data = new FileStream("D:/inputFile/test.pptx", FileMode.Open); string inputPassword = null; string password = null; string storage = null; string folder = "input"; var response = documentApi.CreatePptDocument(name, data, inputPassword, password, storage, folder); }