Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FileWebRequest.Headers Property

Gets a collection of the name/value pairs that are associated with the request. This property is reserved for future use.

Namespace:  System.Net
Assembly:  System (in System.dll)

abstract Headers : WebHeaderCollection with get 
override Headers : WebHeaderCollection with get

Property Value

Type: System.Net.WebHeaderCollection
A WebHeaderCollection that contains header name/value pairs associated with this request.

The Headers property is currently not used by the FileWebRequest class.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft