Gets the Multipurpose Internet Mail Extensions (MIME) content type of the response stream's content.
Assembly: PresentationCore (in PresentationCore.dll)
If a request does not specify a part in the package, it returns the MIME type of the package.
Requests that specify a part in the package return one of the following:
If the requested part contains no ContentType value but the stream name contains a recognized MIME extension type, the MIME type corresponding to the extension is returned.
If the requested part does not contain a ContentType value nor a recognized MIME extension type, returns an empty string.
Windows 7, Windows Vista SP1 or later, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.