FtpWebRequest.ContentType Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Always throws a NotSupportedException.
public:
 virtual property System::String ^ ContentType { System::String ^ get(); void set(System::String ^ value); };public override string? ContentType { get; set; }public override string ContentType { get; set; }member this.ContentType : string with get, setPublic Overrides Property ContentType As StringProperty Value
Always throws a NotSupportedException.
Exceptions
Content type information is not supported for FTP.
Remarks
The ContentType property is provided only for compatibility with other implementations of the WebRequest and WebResponse classes. There is no reason to use ContentType.