The WebBrowser type exposes the following members.
Back to Top
Methods
| Name | Description | |
|---|---|---|
| AddDefaultKeepSubRequestContentType |
Adds a Content-Type fragment, so the content of sub-request responses that match
the specified Content-Type fragment will be kept by default
for any subsequent Request objects created by this WebBrowser.
| |
| AddDefaultKeepSubRequestContentUrl |
Adds a URL, so the content of sub-request responses that match the specified URL
fragment will be kept by default
for any subsequent Request objects created by this WebBrowser.
| |
| AddResponseToCache |
Adds an entry to this WebBrowser object's cache.
| |
| CacheContentTypeDirectory(String) |
Adds a Content-Type media type for which cached content is stored.
| |
| CacheContentTypeDirectory(String, Boolean) |
Adds or removes a Content-Type media type for which cached content is stored.
| |
| ClearCache |
Clears the HTTP cache.
| |
| ClearCookies |
Clears the cookie cache.
| |
| ClearDefaultHeaders |
Removes all of the default HTTP headers.
| |
| CloseAllConnections |
Closes all of the open TCP/IP connections to the web server.
| |
| ContainsDefaultHeader |
Determines whether the specified HTTP header is set by default
on Request objects created by this WebBrowser.
| |
| CreateRequest(HttpMethod, Url) |
Creates a Request object that can be used to send an HTTP request to the web server.
| |
| CreateRequest(HttpMethod, Url, Int32) |
Creates a Request object that can be used to send an HTTP request to the web server,
specifying a unique identifier that can be used to track the request.
| |
| CreateWebSocket |
Creates a WebSocket object that can be used to send/receive WebSocket messages to/from the web server.
| |
| CreateWebSocketMessage(String) |
Creates a WebSocketMessage object that can be sent to the server.
| |
| CreateWebSocketMessage( Byte , Boolean) |
Creates a WebSocketMessage object that can be sent to the server.
| |
| Dispose | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| ExcludeContentTypeFromCache |
Adds a Content-Type for which cached content is not stored.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCachedContentTypeDirectories |
Gets a list of all Content-Type media types for which cached content is stored.
| |
| GetCachedContentTypeExclusions |
Gets a list of all Content-Types for which cached content is not stored.
| |
| GetConnectionType |
Gets the ConnectionType in use.
| |
| GetCookieValue |
Gets the value of the specified cookie, at the specified domain and path.
| |
| getCPtr |
For internal use only. Of no interest to the user.
| |
| GetDefaultContentTypeFragments |
Gets a list of all the Content-Type fragments for which the content of sub-request responses
will be kept by default for any subsequent Request objects created by this WebBrowser.
| |
| GetDefaultContentUrlFragments |
Gets a list of all the URL fragments for which the content of sub-request responses
will be kept by default for any subsequent Request objects created by this WebBrowser.
| |
| GetDefaultHeaderKeys |
Gets a list of names of all the default HTTP request headers that will be
set for every subsequent Request object created by this WebBrowser.
| |
| GetDefaultHeaderValue |
Gets the value of the specified default HTTP header.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetProxy |
Gets the address of the proxy server used by this WebBrowser.
| |
| GetProxyPort |
Gets the port number used by the proxy server for this WebBrowser.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IgnoreHost |
Prevents requests from being sent to the specified domain.
| |
| IgnoreHostRegexp |
Prevents requests from being sent to any domain that matches the specified regular expression.
| |
| IncludeContentTypeInCache |
Adds a Content-Type for which cached content is stored.
| |
| IncludeHost |
Allows requests to be sent to the specified domain.
| |
| IncludeHostRegexp |
Allow requests to be sent to any host that matches the given regular expression.
| |
| IsHostIgnored |
Determines whether the specified domain is currently being ignored.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveCookie |
Removes all cookies with the given name from the cookie cache
| |
| RemoveDefaultHeader |
Removes the specified default HTTP header.
| |
| RemoveDefaultKeepSubRequestContentType |
Removes a Content-Type fragment, so the content of sub-request responses that match
the specified Content-Type fragment will no longer be kept by default
for any subsequent Request objects created by this WebBrowser.
| |
| RemoveDefaultKeepSubRequestContentUrl |
Removes a URL, so the content of sub-request responses that match the specified URL
fragment will no longer be kept by default
for any subsequent Request objects created by this WebBrowser.
| |
| ResumeLogging |
Resumes detailed HTTP logging for this Virtual User.
| |
| SaveCookie |
Saves cookie data for the specified host.
| |
| SetAccess |
Sets the dwAccessType, lpszProxyName and lpszProxyBypass parameters to be passed to InternetOpen() used by WinInet/WinHTTP.
| |
| SetAuthentication |
Sets the domain, username and password that will be used for HTTP authentication.
| |
| SetDefaultHeader(String) |
Sets a default HTTP request header for every subsequent Request
object created by this WebBrowser, using the contents of the specified string.
| |
| SetDefaultHeader(String, String) |
Sets a default HTTP request header for every subsequent Request
object created by this WebBrowser, as a name/value pair.
| |
| SetProxy |
Sets the proxy server address and port.
| |
| SetProxyUserPassword |
Sets the username and password that will be used for proxy authentication.
| |
| SetUserPassword |
Sets the username and password that will be used for HTTP authentication.
| |
| SuspendLogging |
Suspends detailed HTTP logging for this Virtual User.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UnignoreHost |
Stops preventing requests from being sent to the specified domain.
| |
| UnignoreHostRegexp |
Stops preventing requests from being sent to the domains that match the specified regular expression.
| |
| UnincludeHost |
Stop sending requests to the specified domain.
| |
| UnincludeHostRegexp |
Stop sending requests to hosts that match the given regular expression.
| |
| UnsetProxy |
Unsets the proxy server address and port.
|
See Also