Gets the content type of the response.
[Visual Basic] Overridable Public ReadOnly Property ContentType As String [C#] public string ContentType {override get;} [C++] public: __property virtual String* get_ContentType(); [JScript] public function get ContentType() : String;
The ContentType property contains the value of the Content-Type header returned with the response.
HttpWebResponse Class | HttpWebResponse Members | System.Net Namespace