IEHost Provides methods for enabling managed code to execute as an ActiveX control. Initializes a new instance of the class. Gets a value that indicates whether the site portion of two URLs have the same canonicalized values. true if the two URLs are on the same site; otherwise, false. The first URL to compare. The second URL to compare. Gets a value that indicates whether two URLs are the same in their canonicalized forms. true if the two URLs are the same; otherwise, false. The first URL to compare. The second URL to compare. Converts a URL string into canonical form. The canonicalized URL. A null-terminated string of maximum length () that contains a URL string. If the string does not refer to a file, it must include a valid scheme such as "http://". The flags that specify how the URL will be converted to canonical form. The following flags can be combined: Treat "/./" and "/../" in a URL string as literal characters, not as shorthand for navigation. Convert any occurrence of "%" to its escape sequence. Replace only spaces with escape sequences. This flag takes precedence over , but does not apply to opaque URLs. Replace unsafe characters with their escape sequences. Unsafe characters are characters that may be altered during transport across the Internet. They include the <, >, ", #, {, }, |, \, ^, [, ], and ' characters. This flag applies to all URLs, including opaque URLs. Defined to be the same as . Combine URLs with client-defined pluggable protocols, according to the World Wide Web Consortium (W3C) specification. This flag does not apply to standard protocols such as FTP, HTTP, and Gopher. If this flag is set, there is no need to also set . Unescape any escape sequences that the URLs contain, with two exceptions. The escape sequences for "?" and "#" are not unescaped. If one of the URL_ESCAPE flags is also set, the two URLs are first unescaped, and then combined, and then escaped. Gets a byte array that contains the integer representation of the passed-in hexadecimal string. An array that contains the integer representation of . A hexadecimal string that represents a domain identity. Not implemented. Always null. The name of the assembly. The name of the class. Gets the code base and the application name from the passed-in URL string. true if the code base was found; otherwise, false. The URL for the code base. When this method returns, contains the path to the code base. When this method returns, contains the application name. Gets the path and file name of the configuration file from the passed-in URL string. true if the configuration file was found; otherwise, false. The URL for the configuration file. When this method returns, contains the path of the configuration file. When this method returns, contains the name of the configuration file. Creates a class factory that provides security information about the assembly. An object that represents the secure class factory. One of the following CORIESECURITY values: CORIESECURITY_ZONE: 0x01 CORIESECURITY_SITE: 0x02 One of the following URLZONE values: URLZONE_LOCAL_MACHINE: 0x00 URLZONE_INTRANET: 0x01 URLZONE_TRUSTED: 0x02 URLZONE_INTERNET: 0x03 URLZONE_UNTRUSTED: 0x04 The site address. A unique ID for the site. The hexadecimal encoded hash value of the assembly that is being loaded. The name of the assembly. The name of the type. Gets the site name for the specified URL. The site name for the specified URL. The target URL. Gets the maximum length of a string that represents an Internet path. Gets the maximum length of a string that represents an Internet scheme. Gets the maximum length of a string that represents a URL. Determines whether the specified URL is valid. true if the URL is valid; otherwise, false. The URL to be checked. Returns a full URL for the passed-in link, code base, and application. A full link to the specified application. The link portion of the address, which can be relative. The code base portion of the address. The application portion of the address. Specifies how a URL is converted to canonical form. Unescape any escape sequences that the URLs contain, with two exceptions. The escape sequences for ? and # characters are not unescaped. If one of the URL_ESCAPE flags is also set, the two URLs are unescaped, combined, and then escaped. Replace unsafe characters with their escape sequences. Unsafe characters are characters that may be altered during transport across the Internet, and include the <, >, ", #, {, }, |, \, ^, [, ], and ' characters. This flag applies to all URLs, including opaque URLs. Combine URLs with client-defined pluggable protocols, according to the World Wide Web Consortium (W3C) specification. This flag does not apply to standard protocols such as ftp, http, gopher, and so on. Merge all the parameters to create a full URL Used only in conjunction with URL_ESCAPE_SPACES_ONLY to prevent the conversion of characters in the query (the portion of the URL following the first # or ? character encountered in the string). This flag should not be used alone or combined with URL_ESCAPE_SEGMENT_ONLY. Used only in conjunction with URL_ESCAPE_SPACES_ONLY to prevent the conversion of characters in the query (the portion of the URL following the first # or ? character encountered in the string). This flag should not be used alone or combined with URL_ESCAPE_SEGMENT_ONLY. Defined to be the same as URL_DONT_ESCAPE_EXTRA_INFO. Replace only spaces with escape sequences. This flag takes precedence over URL_ESCAPE_UNSAFE, but does not apply to opaque URLs. Treat /./ and /../ in a URL string as literal characters, and not as shorthand for navigation. Defined to be the same as URL_DONT_SIMPLIFY. Convert escape sequences back into ordinary characters and overwrite the original string. Convert to a URL if in a dospath format. Unescape only high ANSI escape characters. Escape # characters found in paths. Use DOS path compatibility mode to create "file" Uniform Resource Identifiers (URIs). Convert any occurrence of "%" to its escape sequence. Indication that the URL contains only the section following the server component but preceding the query. All unsafe characters in the string are converted. If a full URL is provided when this flag is set, all unsafe characters in the entire string are converted, including # and ? characters. Identifies the type of URL that the unmanaged UrlIs function will test for. The URL is valid. The URL is opaque, which means that it has a scheme that is not followed by two forward slashes (//). The URL is a no-history URL, which is a URL that browsers typically do not include in their navigation history. The URL is a file URL, which takes the form file://host/path. The UrlIs function will attempt to determine a valid scheme for the URL. The URL string ends with a directory name. The URL has an appended query string. Identifies the parts of a URL. No part of the URL. The URL scheme. The host name part of the URL. The user name part of the URL. The password part of the URL. The port number part of the URL. The query string part of the URL. Provides methods for creating secure class factories. Specifies the value 0x02. Specifies the value 0x01. Creates a new instance of a COM type that represents a secure class factory. An object that is a wrapper for the new instance. The return value must be unwrapped to access the real object. One of the following CORIESECURITY values: CORIESECURITY_ZONE: 0x01 CORIESECURITY_SITE: 0x02 One of the following URLZONE values: URLZONE_LOCAL_MACHINE: 0x00 URLZONE_INTRANET: 0x01 URLZONE_TRUSTED: 0x02 URLZONE_INTERNET: 0x03 URLZONE_UNTRUSTED: 0x04 The URL for the site that contains the application for which the secure class factory will be created. The unique identity for the site. The link portion of the URL, which can be relative. The location of the license files to associate with the domain. Not implemented. Not used. Always null when this method returns. Not implemented. Not used. Contains information about an entry in the Internet cache. Normal cache entry; can be deleted to recover space for new entries. Cookie cache entry. Visited link cache entry. Not currently implemented. Not currently implemented. Sticky cache entry that is exempt from scavenging. The default value set by CommitUrlCacheEntry is one day. Partial response cache entry. Creates a new instance of a COM type that represents a secure class factory by using information from the deployment manifest. An object that is a wrapper for the new instance. The return value must be unwrapped to access the real object. One of the following CORIESECURITY values: CORIESECURITY_ZONE: 0x01 CORIESECURITY_SITE: 0x02 One of the following URLZONE values: URLZONE_LOCAL_MACHINE: 0x00 URLZONE_INTRANET: 0x01 URLZONE_TRUSTED: 0x02 URLZONE_INTERNET: 0x03 URLZONE_UNTRUSTED: 0x04 The URL for the site that contains the application for which the secure class factory will be created. The unique identity for the site. The link portion of the URL, which can be relative. The location of the license files to associate with the domain. The location of the deployment manifest. Creates a class factory that provides security information about the assembly and the name of the type. An object that represents the secure class factory. One of the following CORIESECURITY values: CORIESECURITY_ZONE: 0x01 CORIESECURITY_SITE: 0x02 One of the following URLZONE values: URLZONE_LOCAL_MACHINE: 0x00 URLZONE_INTRANET: 0x01 URLZONE_TRUSTED: 0x02 URLZONE_INTERNET: 0x03 URLZONE_UNTRUSTED: 0x04 The site address. A unique ID for the site. The name of the type.