public void TestPutSlidesSetDocumentProperty() { SlidesApi target = new SlidesApi(APIKEY, APPSID, BASEPATH); StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH); string name = "sample-input.pptx"; string propertyName = "Author"; string folder = null; string storage = null; DocumentProperty body = new DocumentProperty(); body.Name = "Author"; body.Value = "Imran Anwar"; storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\slides\\resources\\" + name)); DocumentPropertyResponse actual; actual = target.PutSlidesSetDocumentProperty(name, propertyName, folder, storage, body); Assert.AreEqual("200", actual.Code); Assert.IsInstanceOfType(new Com.Aspose.Slides.Model.DocumentPropertyResponse(), actual.GetType()); }