FtpWebRequest::Headers Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets an empty WebHeaderCollection object.

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

property WebHeaderCollection^ Headers {
	virtual WebHeaderCollection^ get() override;
	virtual void set(WebHeaderCollection^ value) override;

Property Value

Type: System.Net::WebHeaderCollection^

An empty WebHeaderCollection object.

The Headers property is provided only for compatibility with other implementations of the WebRequest and WebResponse classes. There is no reason to use Headers.

.NET Framework
Available since 2.0
Return to top