As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
var values = new[] { new KeyValuePair<string, string>("filename", "filename"), new KeyValuePair<string, string>("description", "description"), new KeyValuePair<string, string>("destination", "workspace://SpacesStore/ce55a850-b1c7-43c7-a600-b5c58a985429"), new KeyValuePair<string, string>("siteid", "testsite"), new KeyValuePair<string, string>("containerid", "documentLibrary"), }; foreach (var keyValuePair in values) { formData.Add(new StringContent(keyValuePair.Value), keyValuePair.Key); }