The IResponse::get_ContentType method retrieves the current value of the ContentType property of the Response object.
HRESULT get_ContentType(
BSTR * pbstrContentTypeRet // pointer to a BSTR that
// receives the ContentType value
);
You can use the ContentTypeRet value to determine the content type of the current Response object.