WebBrowser MembersC# API

The WebBrowser type exposes the following members.
Constructors

  NameDescription
Public methodWebBrowser
For internal use only. Of no interest to the user.
Back to Top
Methods

  NameDescription
Public methodAddDefaultKeepSubRequestContentType
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.
Public methodAddDefaultKeepSubRequestContentUrl
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.
Public methodAddResponseToCache
Adds an entry to this WebBrowser object's cache.
Public methodCacheContentTypeDirectory(String)
Adds a Content-Type media type for which cached content is stored.
Public methodCacheContentTypeDirectory(String, Boolean)
Adds or removes a Content-Type media type for which cached content is stored.
Public methodClearCache
Clears the HTTP cache.
Public methodClearCookies
Clears the cookie cache.
Public methodClearDefaultHeaders
Removes all of the default HTTP headers.
Public methodCloseAllConnections
Closes all of the open TCP/IP connections to the web server.
Public methodContainsDefaultHeader
Determines whether the specified HTTP header is set by default on Request objects created by this WebBrowser.
Public methodCreateRequest(HttpMethod, Url)
Creates a Request object that can be used to send an HTTP request to the web server.
Public methodCreateRequest(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.
Public methodCreateWebSocket
Creates a WebSocket object that can be used to send/receive WebSocket messages to/from the web server.
Public methodCreateWebSocketMessage(String)
Creates a WebSocketMessage object that can be sent to the server.
Public methodCreateWebSocketMessage( Byte , Boolean)
Creates a WebSocketMessage object that can be sent to the server.
Public methodDispose
Releases all resources used by the WebBrowser
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExcludeContentTypeFromCache
Adds a Content-Type for which cached content is not stored.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCachedContentTypeDirectories
Gets a list of all Content-Type media types for which cached content is stored.
Public methodGetCachedContentTypeExclusions
Gets a list of all Content-Types for which cached content is not stored.
Public methodGetConnectionType
Gets the ConnectionType in use.
Public methodGetCookieValue
Gets the value of the specified cookie, at the specified domain and path.
Public methodStatic membergetCPtr
For internal use only. Of no interest to the user.
Public methodGetDefaultContentTypeFragments
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.
Public methodGetDefaultContentUrlFragments
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.
Public methodGetDefaultHeaderKeys
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.
Public methodGetDefaultHeaderValue
Gets the value of the specified default HTTP header.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetProxy
Gets the address of the proxy server used by this WebBrowser.
Public methodGetProxyPort
Gets the port number used by the proxy server for this WebBrowser.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIgnoreHost
Prevents requests from being sent to the specified domain.
Public methodIgnoreHostRegexp
Prevents requests from being sent to any domain that matches the specified regular expression.
Public methodIncludeContentTypeInCache
Adds a Content-Type for which cached content is stored.
Public methodIncludeHost
Allows requests to be sent to the specified domain.
Public methodIncludeHostRegexp
Allow requests to be sent to any host that matches the given regular expression.
Public methodIsHostIgnored
Determines whether the specified domain is currently being ignored.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveCookie
Removes all cookies with the given name from the cookie cache
Public methodRemoveDefaultHeader
Removes the specified default HTTP header.
Public methodRemoveDefaultKeepSubRequestContentType
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.
Public methodRemoveDefaultKeepSubRequestContentUrl
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.
Public methodResumeLogging
Resumes detailed HTTP logging for this Virtual User.
Public methodSaveCookie
Saves cookie data for the specified host.
Public methodSetAccess
Sets the dwAccessType, lpszProxyName and lpszProxyBypass parameters to be passed to InternetOpen() used by WinInet/WinHTTP.
Public methodSetAuthentication
Sets the domain, username and password that will be used for HTTP authentication.
Public methodSetDefaultHeader(String)
Sets a default HTTP request header for every subsequent Request object created by this WebBrowser, using the contents of the specified string.
Public methodSetDefaultHeader(String, String)
Sets a default HTTP request header for every subsequent Request object created by this WebBrowser, as a name/value pair.
Public methodSetProxy
Sets the proxy server address and port.
Public methodSetProxyUserPassword
Sets the username and password that will be used for proxy authentication.
Public methodSetUserPassword
Sets the username and password that will be used for HTTP authentication.
Public methodSuspendLogging
Suspends detailed HTTP logging for this Virtual User.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnignoreHost
Stops preventing requests from being sent to the specified domain.
Public methodUnignoreHostRegexp
Stops preventing requests from being sent to the domains that match the specified regular expression.
Public methodUnincludeHost
Stop sending requests to the specified domain.
Public methodUnincludeHostRegexp
Stop sending requests to hosts that match the given regular expression.
Public methodUnsetProxy
Unsets the proxy server address and port.
Back to Top
Properties

  NameDescription
Public propertyAccessType
Gets the dwAccessType parameter to be passed to InternetOpen() used by WinInet/WinHTTP.
Public propertyBufferSize
Gets or sets the size of the buffer used when reading TCP data from a socket.
Public propertyCacheInMemoryContentLimit
Gets or sets the maximum size of resources that can be cached in memory.
Public propertyCacheSecureData
Gets or sets a value that indicates whether secure (HTTPS) data will be cached.
Public propertyCachingEnabled
Gets or sets a value that indicates whether HTTP caching is enabled.
Public propertyCertificateDisplay
Gets or sets a value that indicates whether certificate names should be written to the event log. This can be useful for debugging SSL/TLS client certificate issues.
Public propertyCertificateStoreName
Gets or sets the name of the system certificate store.
Public propertyCertificateSubject
Gets or sets the subject to search for when selecting a client certificate.
Public propertyCertLocation
Gets or sets the location folder or file path for a client certificate.
Public propertyConnectionsPerServer
Gets or sets the maximum number of connections allowed per server for a WinHTTP handler.
Public propertyConnectRetries
Gets or sets the number of times to attempt to connect to a web server before reporting a failure.
Public propertyConnectTimeout
Gets or sets the time in milliseconds to wait for a TCP connection to be opened, before reporting a failure.
Public propertyCookiesSupported
Gets or sets a value that indicates whether cookies are be handled automatically.
Public propertyDefaultCharactersAllowedInPostedForm
Gets or sets the characters that, by default, will NOT be percent-encoded when a Form is sent to the web server using a POST request.
Public propertyDefaultConnectionIdleTimeout
Gets or sets the time in milliseconds after which a TCP connection is considered to be idle, and automatically closed.
Public propertyDefaultFollowRedirects
Gets or sets a value that indicates whether redirects will automatically be followed for any subsequent Request objects created by this WebBrowser.
Public propertyDefaultIncludeQueryDataInLabels
Gets or sets a value that indicates whether URLs with different query data should be considered different from each other by default.
Public propertyDefaultKeepAllSubRequestContent
Gets or sets a value that indicates whether the content of responses to sub-requests should be kept, for any subsequent Request objects created by this WebBrowser.
Public propertyDefaultKeepContent
Gets or sets a value that indicates whether to keep the content of responses by default, for any subsequent Request objects created by this WebBrowser.
Public propertyDefaultRetrieveSubRequests
Gets or sets a value that indicates whether sub-requests will be retrieved for any subsequent Request objects created by this WebBrowser.
Public propertyDefaultSubRequestThreadCount
Gets or sets the number of threads that will be used to fetch sub-requests from the web server, for any subsequent Request objects created by this WebBrowser.
Public propertyDefaultTimeEveryHttpRequest
Gets or sets a value that indicates whether sub-requests will be timed as well as top-level HTTP requests, for any subsequent Request objects created by this WebBrowser.
Public propertyDefaultUserAgent
Gets or sets the value that the "User-Agent" HTTP header defaults to in Request objects created by this WebBrowser.
Public propertyDefaultVersion
Gets or sets the HTTP version as a string, as set by default for any subsequent Request objects created by this WebBrowser.
Public propertyDnsRetries
Gets or sets the number of times that eggPlant Performance will retry a DNS lookup in the event of failure.
Public propertyDnsTimeout
Gets or sets the time in milliseconds before a DNS lookup will time-out.
Public propertyEnableOptionalClientCertificates
Enables the use of optional client certificates, in case the server requests a client certificate but doesn't require one.
Public propertyHostFilteringMode
Get/set the HostFilteringMode.
Public propertyIsDynatraceIntegrationEnabled
Gets or sets a value that indicates whether dynaTrace integration is enabled.
Public propertyIsLoggingEnabled
Gets a value that indicates whether detailed HTTP logging has been enabled for this Virtual User.
Public propertyIsLoggingSuspended
Gets a value that indicates whether detailed HTTP logging has been suspended for this Virtual User.
Public propertyIsSetCertLocation
Gets a value that indicates whether a certificate location has been set.
Public propertyIsSetProxy
Gets a value that indicates whether a proxy server has been defined for this WebBrowser.
Public propertyLocalIpEndPoint
Gets or sets the local IpEndPoint to use when making a connection to a web server.
Public propertyMaxNetworkErrors
Gets or sets the maximum number of network errors to accept before the script is terminated.
Public propertyMinorVersion
Gets or sets the minor HTTP version number.
Public propertyPassword
Gets or sets the password that will be used for HTTP authentication.
Public propertyProxyBypass
Gets the lpszProxyBypass parameter to be passed to InternetOpen() used by WinInet/WinHTTP.
Public propertyProxyServer
Gets the lpszProxyName parameter to be passed to InternetOpen() used by WinInet/WinHTTP.
Public propertyReadRetries
Gets or sets the number of times to attempt to read data from the web server before reporting a failure.
Public propertyReceiveTimeout
Gets or sets the time in milliseconds to wait for a web server to respond to a request before reporting a failure.
Public propertyResponseWithNoExpiryInformationIsFresh
Gets or sets a value that indicates whether a response from a web server that does not contains any expiry information (such as an "Expires" or "Cache-Control, max-age" header) is treated as expired or not.
Public propertySendTimeout
Gets or sets the time in milliseconds before a sent TCP packet will time-out.
Public propertySSLrenegotiateTime
Gets or sets the time in milliseconds after which the SSL connection must be renegotiated.
Public propertyUser
Gets or sets the username that will be used for HTTP authentication.
Public propertyVirtualUser
Gets the VirtualUser instance that this WebBrowser is associated with.
Back to Top
See Also