FtpWebRequest::ContentType Property
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Always throws a NotSupportedException.
Assembly: System (in System.dll)
public: property String^ ContentType { virtual String^ get() override; virtual void set(String^ value) override; }
| Exception | Condition |
|---|---|
| NotSupportedException | Content type information is not supported for FTP. |
The ContentType property is provided only for compatibility with other implementations of the WebRequest and WebResponse classes. There is no reason to use ContentType.
.NET Framework
Available since 2.0
Available since 2.0
Show: