This property sets or retrieves the Http Header name-value pair collection from the request.
[Visual Basic] Public Property HttpHeaders As
System.Net.WebHeaderCollection
[C#] public System.Net.WebHeaderCollection
HttpHeaders {get; set;}
Property Value
The Http Header name-value pair collection
Explanation
The HttpHeaders property sets or retrieves the Http Header's name-value pair collection from the request. Set this property prior to executing the UploadFile or UploadByteArrayToFile methods.
NOTE: When setting this property the only recognized values are "Content-Disposition" and "Cookie"