
This interface provides access to an object that contains information about the browser.
IOmNavigator Methods
HRESULT get_appCodeName(
BSTR *p
);
Retrieves the code name of the browser.
HRESULT get_appMinorVersion(
BSTR *p
);
Returns a string of the minor version number of the browser.
HRESULT get_appName(
BSTR *p
);
Retrieves the application name of the browser.
HRESULT get_appVersion(
BSTR *p
);
Retrieves the version of the browser.
HRESULT get_browserLanguage(
BSTR *p
);
Currently not implemented.
HRESULT get_connectionSpeed(
long *p
);
Currently not implemented.
HRESULT get_cookieEnabled(
VARIANT_BOOL *p
);
Determines whether client-side cookies are enabled in the browser.
HRESULT get_cpuClass(
BSTR *p
);
Returns a string of the CPU class (for example, "x86", "Alpha", "Other").
HRESULT get_mimeTypes(
IHTMLMimeTypesCollection **p
);
Retrieves an empty collection for Internet Explorer 4.0. This property exists for compatibility with other browsers.
See also IHTMLMimeTypesCollection
HRESULT get_onLine(
VARIANT_BOOL *p
);
Returns a Boolean indicating whether the browser is running online or offline.
HRESULT get_platform(
BSTR *p
);
Returns a string indicating which platform the browser is currently running on (for example, "Win32", "Win16", "WinCE", and so on).
HRESULT get_opsProfile(
IHTMLOpsProfile **p
);
Returns an IHTMLOpsProfile interface pointer.
The IHTMLOpsProfile element is a profile object that stores various types of information about the user. This information is taken from the Address Book.
HRESULT get_plugins(
IHTMLPluginsCollection **p
);
Retrieves an interface pointer to a zero-based collection of all the EMBED elements in an HTML document. The elements are in the same order as they appear in the document.
The collection is indexed first by name, then by ID. If duplicate names are found, a collection of those named items is returned. The resulting collection can be referenced only by ordinal position.
See also IHTMLPluginsCollection
HRESULT get_systemLanguage(
BSTR *p
);
Returns a string of the default language the system is running with.
HRESULT get_userAgent(
BSTR *p
);
Retrieves a string that represents the user-agent header sent in the HTTP protocol from the client to the server.
HRESULT get_userLanguage(
BSTR *p
);
Returns a string indicating the language that the user is running by default.
HRESULT get_userProfile(
IHTMLOpsProfile **p
);
Alias for the IHTMLOpsProfile interface.
The IHTMLOpsProfile element is a profile object that stores various types of information about the user. This information is taken from the Address Book.
HRESULT javaEnabled(
VARIANT_BOOL *enabled
);
Returns whether Java is enabled.
HRESULT taintEnabled(
VARIANT_BOOL *enabled
);
Determines whether data tainting is enabled.
This method always returns FALSE for Internet Explorer 4.0. Data tainting is not supported.
HRESULT toString(
BSTR *string
);
Returns a string representation of the navigation object.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.