DotNetBrowser  1.14
Classes | Enumerations | Functions
DotNetBrowser.Events Namespace Reference

Classes

class  BrowserEventArgs
 The base class for classes providing event information for all Browser events. More...
 
class  ConsoleEventArgs
 Provides event information for event that indicates that the message was added to the console. More...
 
class  DisposeEventArgs
 Provides event information for event that indicates that browser instance disposed. More...
 
class  DownloadEventArgs
 Provides event information for event that indicates that download is updated. More...
 
class  DragDropEventArgs
 Provides event information that indicates that DragDrop event has started. More...
 
class  FailLoadingEventArgs
 Provides event information for event that indicates that frame loading process has been failed. More...
 
class  FinishLoadingEventArgs
 Provides event information for event that indicates that frame loading process has been finished. More...
 
class  FrameLoadEventArgs
 Provides event information for event that indicates that frame with a document is loaded. More...
 
class  GestureEventArgs
 Provides event information that indicates that user has made a gesture interaction GestureType with device SourceDevice. More...
 
class  HandledGestureEventArgs
 Allows to handle an event that indicates that user has made a gesture interaction GestureType with device SourceDevice. More...
 
class  LoadEventArgs
 Provides event information for event that indicates that main frame with a document is loaded. More...
 
class  NotificationEventArgs
 Provides event information for event that browser performed some notification action. More...
 
class  OnRedrawEventArgs
 Provides event information for event that indicates that content of loaded web page in the browser view has been rendered as image. More...
 
class  OnRepaintEventArgs
 Provides event information for event that indicates that content of loaded web page in the browser view has been repainted. More...
 
class  PrintJobEventArgs
 Provides event information for event that indicate printing job status More...
 
class  ProvisionalLoadingArgs
 Provides event information for event that indicates that provisional load for a specified frame was successfully committed. More...
 
class  RenderEventArgs
 Provides event information for event that indicates that the render process is gone or created. More...
 
class  ScriptContextEventArgs
 Provides event information for event that indicates that JavaScript context has been created or destroyed More...
 
class  SpellCheckCompletedEventArgs
 Provides event information for event that indicates that the spell check process is completed. More...
 
class  SpellCheckResult
 Contains information about specific mistake in the examined text. More...
 
class  StartLoadingArgs
 Provides event information for event that indicates that frame loading process has been started. More...
 
class  StatusEventArgs
 Provides event information for event that indicates that the status has been changed. More...
 
class  TitleEventArgs
 Provides event information for event that indicates that the title of a document in main frame has been changed. More...
 
class  ZoomEventArgs
 Arguments fpr an event that indicates that zoom level for a specific URL has been changed. More...
 

Enumerations

enum  NetError {
  NetError.UNDEFINED, NetError.IO_PENDING = -1, NetError.FAILED = -2, NetError.ABORTED = -3,
  NetError.INVALID_ARGUMENT = -4, NetError.INVALID_HANDLE = -5, NetError.FILE_NOT_FOUND = -6, NetError.TIMED_OUT = -7,
  NetError.FILE_TOO_BIG = -8, NetError.UNEXPECTED = -9, NetError.ACCESS_DENIED = -10, NetError.NOT_IMPLEMENTED = -11,
  NetError.INSUFFICIENT_RESOURCES = -12, NetError.OUT_OF_MEMORY = -13, NetError.UPLOAD_FILE_CHANGED = -14, NetError.SOCKET_NOT_CONNECTED = -15,
  NetError.FILE_EXISTS = -16, NetError.FILE_PATH_TOO_LONG = -17, NetError.FILE_NO_SPACE = -18, NetError.FILE_VIRUS_INFECTED = -19,
  NetError.BLOCKED_BY_CLIENT = -20, NetError.NETWORK_CHANGED = -21, NetError.BLOCKED_BY_ADMINISTRATOR = -22, NetError.SOCKET_IS_CONNECTED = -23,
  NetError.CONNECTION_CLOSED = -100, NetError.CONNECTION_RESET = -101, NetError.CONNECTION_REFUSED = -102, NetError.CONNECTION_ABORTED = -103,
  NetError.CONNECTION_FAILED = -104, NetError.NAME_NOT_RESOLVED = -105, NetError.INTERNET_DISCONNECTED = -106, NetError.SSL_PROTOCOL_ERROR = -107,
  NetError.ADDRESS_INVALID = -108, NetError.ADDRESS_UNREACHABLE = -109, NetError.SSL_CLIENT_AUTH_CERT_NEEDED = -110, NetError.TUNNEL_CONNECTION_FAILED = -111,
  NetError.NO_SSL_VERSIONS_ENABLED = -112, NetError.SSL_VERSION_OR_CIPHER_MISMATCH = -113, NetError.SSL_RENEGOTIATION_REQUESTED = -114, NetError.PROXY_AUTH_UNSUPPORTED = -115,
  NetError.CERT_ERROR_IN_SSL_RENEGOTIATION = -116, NetError.BAD_SSL_CLIENT_AUTH_CERT = -117, NetError.CONNECTION_TIMED_OUT = -118, NetError.HOST_RESOLVER_QUEUE_TOO_LARGE = -119,
  NetError.SOCKS_CONNECTION_FAILED = -120, NetError.SOCKS_CONNECTION_HOST_UNREACHABLE = -121, NetError.NPN_NEGOTIATION_FAILED = -122, NetError.SSL_NO_RENEGOTIATION = -123,
  NetError.WINSOCK_UNEXPECTED_WRITTEN_BYTES = -124, NetError.SSL_DECOMPRESSION_FAILURE_ALERT = -125, NetError.SSL_BAD_RECORD_MAC_ALERT = -126, NetError.PROXY_AUTH_REQUESTED = -127,
  NetError.SSL_UNSAFE_NEGOTIATION = -128, NetError.SSL_WEAK_SERVER_EPHEMERAL_DH_KEY = -129, NetError.PROXY_CONNECTION_FAILED = -130, NetError.MANDATORY_PROXY_CONFIGURATION_FAILED = -131,
  NetError.PRECONNECT_MAX_SOCKET_LIMIT = -133, NetError.SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED = -134, NetError.SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY = -135, NetError.PROXY_CERTIFICATE_INVALID = -136,
  NetError.NAME_RESOLUTION_FAILED = -137, NetError.NETWORK_ACCESS_DENIED = -138, NetError.TEMPORARILY_THROTTLED = -139, NetError.HTTPS_PROXY_TUNNEL_RESPONSE = -140,
  NetError.SSL_CLIENT_AUTH_SIGNATURE_FAILED = -141, NetError.MSG_TOO_BIG = -142, NetError.SPDY_SESSION_ALREADY_EXISTS = -143, NetError.WS_PROTOCOL_ERROR = -145,
  NetError.PROTOCOL_SWITCHED = -146, NetError.ADDRESS_IN_USE = -147, NetError.SSL_HANDSHAKE_NOT_COMPLETED = -148, NetError.SSL_BAD_PEER_PUBLIC_KEY = -149,
  NetError.SSL_PINNED_KEY_NOT_IN_CERT_CHAIN = -150, NetError.CLIENT_AUTH_CERT_TYPE_UNSUPPORTED = -151, NetError.ORIGIN_BOUND_CERT_GENERATION_TYPE_MISMATCH = -152, NetError.CERT_COMMON_NAME_INVALID = -200,
  NetError.CERT_DATE_INVALID = -201, NetError.CERT_AUTHORITY_INVALID = -202, NetError.CERT_CONTAINS_ERRORS = -203, NetError.CERT_NO_REVOCATION_MECHANISM = -204,
  NetError.CERT_UNABLE_TO_CHECK_REVOCATION = -205, NetError.CERT_REVOKED = -206, NetError.CERT_INVALID = -207, NetError.CERT_WEAK_SIGNATURE_ALGORITHM = -208,
  NetError.CERT_NON_UNIQUE_NAME = -210, NetError.CERT_WEAK_KEY = -211, NetError.CERT_END = -212, NetError.INVALID_URL = -300,
  NetError.DISALLOWED_URL_SCHEME = -301, NetError.UNKNOWN_URL_SCHEME = -302, NetError.TOO_MANY_REDIRECTS = -310, NetError.UNSAFE_REDIRECT = -311,
  NetError.UNSAFE_PORT = -312, NetError.INVALID_RESPONSE = -320, NetError.INVALID_CHUNKED_ENCODING = -321, NetError.METHOD_NOT_SUPPORTED = -322,
  NetError.UNEXPECTED_PROXY_AUTH = -323, NetError.EMPTY_RESPONSE = -324, NetError.RESPONSE_HEADERS_TOO_BIG = -325, NetError.PAC_STATUS_NOT_OK = -326,
  NetError.PAC_SCRIPT_FAILED = -327, NetError.REQUEST_RANGE_NOT_SATISFIABLE = -328, NetError.MALFORMED_IDENTITY = -329, NetError.CONTENT_DECODING_FAILED = -330,
  NetError.NETWORK_IO_SUSPENDED = -331, NetError.SYN_REPLY_NOT_RECEIVED = -332, NetError.ENCODING_CONVERSION_FAILED = -333, NetError.UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT = -334,
  NetError.INVALID_SPDY_STREAM = -335, NetError.NO_SUPPORTED_PROXIES = -336, NetError.SPDY_PROTOCOL_ERROR = -337, NetError.INVALID_AUTH_CREDENTIALS = -338,
  NetError.UNSUPPORTED_AUTH_SCHEME = -339, NetError.ENCODING_DETECTION_FAILED = -340, NetError.MISSING_AUTH_CREDENTIALS = -341, NetError.UNEXPECTED_SECURITY_LIBRARY_STATUS = -342,
  NetError.MISCONFIGURED_AUTH_ENVIRONMENT = -343, NetError.UNDOCUMENTED_SECURITY_LIBRARY_STATUS = -344, NetError.RESPONSE_BODY_TOO_BIG_TO_DRAIN = -345, NetError.RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH = -346,
  NetError.INCOMPLETE_SPDY_HEADERS = -347, NetError.PAC_NOT_IN_DHCP = -348, NetError.RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION = -349, NetError.RESPONSE_HEADERS_MULTIPLE_LOCATION = -350,
  NetError.SPDY_SERVER_REFUSED_STREAM = -351, NetError.SPDY_PING_FAILED = -352, NetError.PIPELINE_EVICTION = -353, NetError.CONTENT_LENGTH_MISMATCH = -354,
  NetError.INCOMPLETE_CHUNKED_ENCODING = -355, NetError.QUIC_PROTOCOL_ERROR = -356, NetError.HEADERS_TRUNCATED = -357, NetError.CACHE_MISS = -400,
  NetError.CACHE_READ_FAILURE = -401, NetError.CACHE_WRITE_FAILURE = -402, NetError.CACHE_OPERATION_NOT_SUPPORTED = -403, NetError.CACHE_OPEN_FAILURE = -404,
  NetError.CACHE_CREATE_FAILURE = -405, NetError.CACHE_RACE = -406, NetError.CACHE_CHECKSUM_READ_FAILURE = -407, NetError.CACHE_CHECKSUM_MISMATCH = -408,
  NetError.INSECURE_RESPONSE = -501, NetError.NO_PRIVATE_KEY_FOR_CERT = -502, NetError.ADD_USER_CERT_FAILED = -503, NetError.FTP_FAILED = -601,
  NetError.FTP_SERVICE_UNAVAILABLE = -602, NetError.FTP_TRANSFER_ABORTED = -603, NetError.FTP_FILE_BUSY = -604, NetError.FTP_SYNTAX_ERROR = -605,
  NetError.FTP_COMMAND_NOT_SUPPORTED = -606, NetError.FTP_BAD_COMMAND_SEQUENCE = -607, NetError.PKCS12_IMPORT_BAD_PASSWORD = -701, NetError.PKCS12_IMPORT_FAILED = -702,
  NetError.IMPORT_CA_CERT_NOT_CA = -703, NetError.IMPORT_CERT_ALREADY_EXISTS = -704, NetError.IMPORT_CA_CERT_FAILED = -705, NetError.IMPORT_SERVER_CERT_FAILED = -706,
  NetError.PKCS12_IMPORT_INVALID_MAC = -707, NetError.PKCS12_IMPORT_INVALID_FILE = -708, NetError.PKCS12_IMPORT_UNSUPPORTED = -709, NetError.KEY_GENERATION_FAILED = -710,
  NetError.ORIGIN_BOUND_CERT_GENERATION_FAILED = -711, NetError.PRIVATE_KEY_EXPORT_FAILED = -712, NetError.DNS_MALFORMED_RESPONSE = -800, NetError.DNS_SERVER_REQUIRES_TCP = -801,
  NetError.DNS_SERVER_FAILED = -802, NetError.DNS_TIMED_OUT = -803, NetError.DNS_CACHE_MISS = -804, NetError.DNS_SEARCH_EMPTY = -805,
  NetError.DNS_SORT_ERROR = -806
}
 The list of network errors. More...
 

Functions

delegate void ConsoleMessageHandler (object sender, ConsoleEventArgs e)
 Represents the method that will handle event that indicates that the message was added to the console. More...
 
delegate void DisposeEventHandler (object sender, DisposeEventArgs e)
 Represents the method that will handle event that indicates that browser instance disposed. More...
 
delegate void DownloadEventHandler (object sender, DownloadEventArgs e)
 Represents the method that will handle event that indicates when download updates its state. More...
 
delegate void DragDropHandler (object sender, DragDropEventArgs e)
 Represents the method that will handle event that indicates that DragDrop event has started. More...
 
delegate void FailLoadingFrameHandler (object sender, FailLoadingEventArgs e)
 Represents the method that will handle event that indicates that frame loading process has been failed. More...
 
delegate void FinishLoadingFrameHandler (object sender, FinishLoadingEventArgs e)
 Represents the method that will handle event that indicates that frame loading process has been finished. More...
 
delegate void DocumentLoadedInFrameHandler (object sender, FrameLoadEventArgs e)
 Represents the method that will handle event that indicates that frame with a document is loaded. More...
 
delegate void GestureEventHandler (object sender, GestureEventArgs e)
 Represents the method that will handle event that indicates that user has made a gesture interaction GestureType with device SourceDevice. More...
 
delegate void HandledGestureEventHandler (object sender, HandledGestureEventArgs e)
 Represents the method that will handle event that indicates that user has made a gesture interaction GestureType with device SourceDevice and provides an ability to discard performed interaction. More...
 
delegate void DocumentLoadedInMainFrameHandler (object sender, LoadEventArgs e)
 Represents the method that will handle event that indicates that main frame with a document is loaded. More...
 
delegate void NotificationOnCloseHandler (NotificationEventArgs e)
 Represents the method that will handle event is being invoked when browser informs that notification should be closed. Notification can be closed in different ways: 1. Using the Notification.Close() method. 2. From JavaScript via Notification.close() JS function. More...
 
delegate void OnRedrawEventHandler (object sender, OnRedrawEventArgs e)
 Represents the method that will handle event that indicates when content of loaded web page in the browser view has been rendered as image. More...
 
delegate void OnRepaintEventHandler (object sender, OnRepaintEventArgs e)
 Represents the method that will handle event that indicates when content of loaded web page in the browser view has been repainted. More...
 
delegate void PrintJobEventHandler (object sender, PrintJobEventArgs e)
 Represents the method that will handle event that indicates when printing job updates its state. More...
 
delegate void ProvisionalLoadingFrameHandler (object sender, ProvisionalLoadingArgs e)
 Represents the method that will handle event that indicates that provisional load for a specified frame was successfully committed. More...
 
delegate void RenderCreatedHandler (object sender, RenderEventArgs e)
 Represents the method that will handle event that indicates that the render process is gone or created. More...
 
delegate void ScriptContextCreatedHandler (object sender, ScriptContextEventArgs e)
 Represents the method that will handle event that indicates that JavaScript context has been created. More...
 
delegate void ScriptContextDestroyedHandler (object sender, ScriptContextEventArgs e)
 Represents the method that will handle event that indicates that JavaScript context has been destroyed. More...
 
delegate void SpellCheckCompletedHandler (object sender, SpellCheckCompletedEventArgs e)
 Represents the method that will handle event that indicates that the spell check process is completed. More...
 
delegate void StartLoadingFrameHandler (object sender, StartLoadingArgs e)
 Represents the method that will handle event that indicates that frame loading process has been started. More...
 
delegate void StatusEventHandler (object sender, StatusEventArgs e)
 Represents the method that will handle event that indicates that the status has been changed. More...
 
delegate void TitleChangedHandler (object sender, TitleEventArgs e)
 Represents the method that will handle event that indicates that the title of a document in main frame has been changed. More...
 
delegate void ZoomChangedHandler (object sender, ZoomEventArgs e)
 Represents the method that will handle event that indicates that the zoom of a document in main frame has been changed. More...
 

Enumeration Type Documentation

The list of network errors.

Enumerator
UNDEFINED 

Undefined

IO_PENDING 

An asynchronous IO operation is not yet complete. This usually does not indicate a fatal error. Typically this error will be generated as a notification to wait for some external notification that the IO operation finally completed.

FAILED 

A generic failure occurred.

ABORTED 

An operation was aborted ( due to user action).

INVALID_ARGUMENT 

An argument to the function is incorrect.

INVALID_HANDLE 

The handle or file descriptor is invalid.

FILE_NOT_FOUND 

The file or directory cannot be found.

TIMED_OUT 

An operation timed out.

FILE_TOO_BIG 

The file is too large.

UNEXPECTED 

An unexpected error. This may be caused by a programming mistake or an invalid assumption.

ACCESS_DENIED 

Permission to access a resource, other than the network, was denied.

NOT_IMPLEMENTED 

The operation failed because of unimplemented functionality.

INSUFFICIENT_RESOURCES 

There were not enough resources to complete the operation.

OUT_OF_MEMORY 

Memory allocation failed.

UPLOAD_FILE_CHANGED 

The file upload failed because the file's modification time was different from the expectation.

SOCKET_NOT_CONNECTED 

The socket is not connected.

FILE_EXISTS 

The file already exists.

FILE_PATH_TOO_LONG 

The path or file name is too long.

FILE_NO_SPACE 

Not enough room left on the disk.

FILE_VIRUS_INFECTED 

The file has a virus.

BLOCKED_BY_CLIENT 

The client chose to block the request.

NETWORK_CHANGED 

The network changed.

BLOCKED_BY_ADMINISTRATOR 

The request was blocked by the URL blacklist configured by the domain administrator.

SOCKET_IS_CONNECTED 

The socket is already connected.

CONNECTION_CLOSED 

A connection was closed = corresponding to a TCP FIN.

CONNECTION_RESET 

A connection was reset = corresponding to a TCP RST.

CONNECTION_REFUSED 

A connection attempt was refused.

CONNECTION_ABORTED 

A connection timed out as a result of not receiving an ACK for data sent. This can include a FIN packet that did not get ACK'd.

CONNECTION_FAILED 

A connection attempt failed.

NAME_NOT_RESOLVED 

The host name could not be resolved.

INTERNET_DISCONNECTED 

The Internet connection has been lost.

SSL_PROTOCOL_ERROR 

An SSL protocol error occurred.

ADDRESS_INVALID 

The IP address or port number is invalid = e.g., cannot connect to the IP address 0 or the port 0.

ADDRESS_UNREACHABLE 

The IP address is unreachable. This usually means that there is no route to the specified host or network.

SSL_CLIENT_AUTH_CERT_NEEDED 

The server requested a client certificate for SSL client authentication.

TUNNEL_CONNECTION_FAILED 

A tunnel connection through the proxy could not be established.

NO_SSL_VERSIONS_ENABLED 

No SSL protocol versions are enabled.

SSL_VERSION_OR_CIPHER_MISMATCH 

The client and server don't support a common SSL protocol version or cipher suite.

SSL_RENEGOTIATION_REQUESTED 

The server requested a renegotiation = rehandshake,.

PROXY_AUTH_UNSUPPORTED 

The proxy requested authentication = for tunnel establishment, with an unsupported method.

CERT_ERROR_IN_SSL_RENEGOTIATION 

During SSL renegotiation = rehandshake,, the server sent a certificate with an error. Note: this error is not in the -2xx range so that it won't be handled as a certificate error.

BAD_SSL_CLIENT_AUTH_CERT 

The SSL handshake failed because of a bad or missing client certificate.

CONNECTION_TIMED_OUT 

A connection attempt timed out.

HOST_RESOLVER_QUEUE_TOO_LARGE 

There are too many pending DNS resolves, so a request in the queue was aborted.

SOCKS_CONNECTION_FAILED 

Failed establishing a connection to the SOCKS proxy server for a target host.

SOCKS_CONNECTION_HOST_UNREACHABLE 

The SOCKS proxy server failed establishing connection to the target host because that host is unreachable.

NPN_NEGOTIATION_FAILED 

The request to negotiate an alternate protocol failed.

SSL_NO_RENEGOTIATION 

The peer sent an SSL no_renegotiation alert message.

WINSOCK_UNEXPECTED_WRITTEN_BYTES 

Winsock sometimes reports more data written than passed. This is probably due to a broken LSP.

SSL_DECOMPRESSION_FAILURE_ALERT 

An SSL peer sent us a fatal decompression_failure alert. This typically occurs when a peer selects DEFLATE compression in the mistaken belief that it supports it.

SSL_BAD_RECORD_MAC_ALERT 

An SSL peer sent us a fatal bad_record_mac alert. This has been observed from servers with buggy DEFLATE support.

PROXY_AUTH_REQUESTED 

The proxy requested authentication = for tunnel establishment.

SSL_UNSAFE_NEGOTIATION 

A known TLS strict server didn't offer the renegotiation extension.

SSL_WEAK_SERVER_EPHEMERAL_DH_KEY 

The SSL server attempted to use a weak ephemeral Diffie-Hellman key.

PROXY_CONNECTION_FAILED 

Could not create a connection to the proxy server. An error occurred either in resolving its name, or in connecting a socket to it. Note that this does NOT include failures during the actual "CONNECT" method of an HTTP proxy.

MANDATORY_PROXY_CONFIGURATION_FAILED 

A mandatory proxy configuration could not be used. Currently this means that a mandatory PAC script could not be fetched, parsed or executed.

PRECONNECT_MAX_SOCKET_LIMIT 

We've hit the max socket limit for the socket pool while preconnecting. We don't bother trying to preconnect more sockets.

SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED 

The permission to use the SSL client certificate's private key was denied.

SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY 

The SSL client certificate has no private key.

PROXY_CERTIFICATE_INVALID 

The certificate presented by the HTTPS Proxy was invalid.

NAME_RESOLUTION_FAILED 

An error occurred when trying to do a name resolution = DNS,.

NETWORK_ACCESS_DENIED 

Permission to access the network was denied. This is used to distinguish errors that were most likely caused by a firewall from other access denied errors. See also ERR_ACCESS_DENIED.

TEMPORARILY_THROTTLED 

The request throttler module cancelled this request to avoid DDOS.

HTTPS_PROXY_TUNNEL_RESPONSE 

A request to create an SSL tunnel connection through the HTTPS proxy received a non-200 = OK, and non-407 = Proxy Auth, response. The response body might include a description of why the request failed.

SSL_CLIENT_AUTH_SIGNATURE_FAILED 

We were unable to sign the CertificateVerify data of an SSL client auth handshake with the client certificate's private key.

Possible causes for this include the user implicitly or explicitly denying access to the private key, the private key may not be valid for signing, the key may be relying on a cached handle which is no longer valid, or the CSP won't allow arbitrary data to be signed.

MSG_TOO_BIG 

The message was too large for the transport. = for example a UDP message which exceeds size threshold,.

SPDY_SESSION_ALREADY_EXISTS 

A SPDY session already exists, and should be used instead of this connection.

WS_PROTOCOL_ERROR 

Websocket protocol error. Indicates that we are terminating the connection due to a malformed frame or other protocol violation.

PROTOCOL_SWITCHED 

Connection was aborted for switching to another protocol. WebSocket abort SocketStream connection when alternate protocol is found.

ADDRESS_IN_USE 

Returned when attempting to bind an address that is already in use.

SSL_HANDSHAKE_NOT_COMPLETED 

An operation failed because the SSL handshake has not completed.

SSL_BAD_PEER_PUBLIC_KEY 

SSL peer's public key is invalid.

SSL_PINNED_KEY_NOT_IN_CERT_CHAIN 

The certificate didn't match the built-in public key pins for the host name. The pins are set in net/http/transport_security_state.cc and require that one of a set of public keys exist on the path from the leaf to the root.

CLIENT_AUTH_CERT_TYPE_UNSUPPORTED 

Server request for client certificate did not contain any types we support.

ORIGIN_BOUND_CERT_GENERATION_TYPE_MISMATCH 

Server requested one type of cert, then requested a different type while the first was still being generated.

CERT_COMMON_NAME_INVALID 

The server responded with a certificate whose common name did not match the host name. This could mean:

  1. An attacker has redirected our traffic to his server and is presenting a certificate for which he knows the private key.
  1. The server is misconfigured and responding with the wrong cert.
  1. The user is on a wireless network and is being redirected to the network's login page.
  1. The OS has used a DNS search suffix and the server doesn't have a certificate for the abbreviated name in the address bar.
CERT_DATE_INVALID 

The server responded with a certificate that, by our clock, appears to either not yet be valid or to have expired. This could mean:

  1. An attacker is presenting an old certificate for which he has managed to obtain the private key.
  1. The server is misconfigured and is not presenting a valid cert.
  1. Our clock is wrong.
CERT_AUTHORITY_INVALID 

The server responded with a certificate that is signed by an authority we don't trust. The could mean:

  1. An attacker has substituted the real certificate for a cert that contains his public key and is signed by his cousin.
  1. The server operator has a legitimate certificate from a CA we don't know about, but should trust.
  1. The server is presenting a self-signed certificate, providing no defense against active attackers = but foiling passive attackers.
CERT_CONTAINS_ERRORS 

The server responded with a certificate that contains errors. This error is not recoverable.

MSDN describes this error as follows: "The SSL certificate contains errors." NOTE: It's unclear how this differs from ERR_CERT_INVALID. For consistency, use that code instead of this one from now on.

CERT_NO_REVOCATION_MECHANISM 

The certificate has no mechanism for determining if it is revoked. In effect, this certificate cannot be revoked.

CERT_UNABLE_TO_CHECK_REVOCATION 

Revocation information for the security certificate for this site is not available. This could mean:

  1. An attacker has compromised the private key in the certificate and is blocking our attempt to find out that the cert was revoked.
  1. The certificate is unrevoked, but the revocation server is busy or unavailable.
CERT_REVOKED 

The server responded with a certificate has been revoked. We have the capability to ignore this error, but it is probably not the thing to do.

CERT_INVALID 

The server responded with a certificate that is invalid. This error is not recoverable.

MSDN describes this error as follows: "The SSL certificate is invalid."

CERT_WEAK_SIGNATURE_ALGORITHM 

The server responded with a certificate that is signed using a weak signature algorithm.

CERT_NON_UNIQUE_NAME 

The host name specified in the certificate is not unique.

CERT_WEAK_KEY 

The server responded with a certificate that contains a weak key = e.g. a too-small RSA key.

CERT_END 

The value immediately past the last certificate error code.

INVALID_URL 

The URL is invalid.

DISALLOWED_URL_SCHEME 

The scheme of the URL is disallowed.

UNKNOWN_URL_SCHEME 

The scheme of the URL is unknown.

TOO_MANY_REDIRECTS 

Attempting to load an URL resulted in too many redirects.

UNSAFE_REDIRECT 

Attempting to load an URL resulted in an unsafe redirect = e.g., a redirect to file:// is considered unsafe.

UNSAFE_PORT 

Attempting to load an URL with an unsafe port number. These are port numbers that correspond to services, which are not robust to spurious input that may be constructed as a result of an allowed web construct = e.g., HTTP looks a lot like SMTP, so form submission to port 25 is denied,.

INVALID_RESPONSE 

The server's response was invalid.

INVALID_CHUNKED_ENCODING 

Error in chunked transfer encoding.

METHOD_NOT_SUPPORTED 

The server did not support the request method.

UNEXPECTED_PROXY_AUTH 

The response was 407 = Proxy Authentication Required,, yet we did not send the request to a proxy.

EMPTY_RESPONSE 

The server closed the connection without sending any data.

RESPONSE_HEADERS_TOO_BIG 

The headers section of the response is too large.

PAC_STATUS_NOT_OK 

The PAC requested by HTTP did not have a valid status code = non-200.

PAC_SCRIPT_FAILED 

The evaluation of the PAC script failed.

REQUEST_RANGE_NOT_SATISFIABLE 

The response was 416 = Requested range not satisfiable, and the server cannot satisfy the range requested.

MALFORMED_IDENTITY 

The identity used for authentication is invalid.

CONTENT_DECODING_FAILED 

Content decoding of the response body failed.

NETWORK_IO_SUSPENDED 

An operation could not be completed because all network IO is suspended.

SYN_REPLY_NOT_RECEIVED 

FLIP data received without receiving a SYN_REPLY on the stream.

ENCODING_CONVERSION_FAILED 

Converting the response to target encoding failed.

UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT 

The server sent an FTP directory listing in a format we do not understand.

INVALID_SPDY_STREAM 

Attempted use of an unknown SPDY stream id.

NO_SUPPORTED_PROXIES 

There are no supported proxies in the provided list.

SPDY_PROTOCOL_ERROR 

There is a SPDY protocol error.

INVALID_AUTH_CREDENTIALS 

Credentials could not be established during HTTP Authentication.

UNSUPPORTED_AUTH_SCHEME 

An HTTP Authentication scheme was tried which is not supported on this machine.

ENCODING_DETECTION_FAILED 

Detecting the encoding of the response failed.

MISSING_AUTH_CREDENTIALS 

= GSSAPI, No Kerberos credentials were available during HTTP Authentication.

UNEXPECTED_SECURITY_LIBRARY_STATUS 

An unexpected, but documented, SSPI or GSSAPI status code was returned.

MISCONFIGURED_AUTH_ENVIRONMENT 

The environment was not set up correctly for authentication = for example, no KDC could be found or the principal is unknown.

UNDOCUMENTED_SECURITY_LIBRARY_STATUS 

An undocumented SSPI or GSSAPI status code was returned.

RESPONSE_BODY_TOO_BIG_TO_DRAIN 

The HTTP response was too big to drain.

RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH 

The HTTP response contained multiple distinct Content-Length headers.

INCOMPLETE_SPDY_HEADERS 

SPDY Headers have been received, but not all of them - status or version headers are missing, so we're expecting additional frames to complete them.

PAC_NOT_IN_DHCP 

No PAC URL configuration could be retrieved from DHCP. This can indicate either a failure to retrieve the DHCP configuration, or that there was no PAC URL configured in DHCP.

RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION 

The HTTP response contained multiple Content-Disposition headers.

RESPONSE_HEADERS_MULTIPLE_LOCATION 

The HTTP response contained multiple Location headers.

SPDY_SERVER_REFUSED_STREAM 

SPDY server refused the stream. Client should retry. This should never be a user-visible error.

SPDY_PING_FAILED 

SPDY server didn't respond to the PING message.

PIPELINE_EVICTION 

The request couldn't be completed on an HTTP pipeline. Client should retry.

CONTENT_LENGTH_MISMATCH 

The HTTP response body transferred fewer bytes than were advertised by the Content-Length header when the connection is closed.

INCOMPLETE_CHUNKED_ENCODING 

The HTTP response body is transferred with Chunked-Encoding, but the terminating zero-length chunk was never sent when the connection is closed.

QUIC_PROTOCOL_ERROR 

There is a QUIC protocol error.

HEADERS_TRUNCATED 

The HTTP headers were truncated by an EOF.

CACHE_MISS 

The cache does not have the requested entry.

CACHE_READ_FAILURE 

Unable to read from the disk cache.

CACHE_WRITE_FAILURE 

Unable to write to the disk cache.

CACHE_OPERATION_NOT_SUPPORTED 

The operation is not supported for this entry.

CACHE_OPEN_FAILURE 

The disk cache is unable to open this entry.

CACHE_CREATE_FAILURE 

The disk cache is unable to create this entry.

CACHE_RACE 

Multiple transactions are racing to create disk cache entries. This is an internal error returned from the HttpCache to the HttpCacheTransaction that tells the transaction to restart the entry-creation logic because the state of the cache has changed.

CACHE_CHECKSUM_READ_FAILURE 

The cache was unable to read a checksum record on an entry. This can be returned from attempts to read from the cache. It is an internal error, returned by the SimpleCache backend, but not by any URLRequest methods or members.

CACHE_CHECKSUM_MISMATCH 

The cache found an entry with an invalid checksum. This can be returned from attempts to read from the cache. It is an internal error, returned by the SimpleCache backend, but not by any URLRequest methods or members.

INSECURE_RESPONSE 

The server's response was insecure = e.g. there was a cert error,.

NO_PRIVATE_KEY_FOR_CERT 

The server responded to a <keygen> with a generated client cert that we don't have the matching private key for.

ADD_USER_CERT_FAILED 

An error adding to the OS certificate database = e.g. OS X Keychain,.

FTP_FAILED 

A generic error for failed FTP control connection command. If possible, please use or add a more specific error code.

FTP_SERVICE_UNAVAILABLE 

The server cannot fulfill the request at this point. This is a temporary error. FTP response code 421.

FTP_TRANSFER_ABORTED 

The server has aborted the transfer. FTP response code 426.

FTP_FILE_BUSY 

The file is busy, or some other temporary error condition on opening the file. FTP response code 450.

FTP_SYNTAX_ERROR 

Server rejected our command because of syntax errors. FTP response codes 500, 501.

FTP_COMMAND_NOT_SUPPORTED 

Server does not support the command we issued. FTP response codes 502, 504.

FTP_BAD_COMMAND_SEQUENCE 

Server rejected our command because we didn't issue the commands in right order. FTP response code 503.

PKCS12_IMPORT_BAD_PASSWORD 

PKCS #12 import failed due to incorrect password.

PKCS12_IMPORT_FAILED 

PKCS #12 import failed due to other error.

IMPORT_CA_CERT_NOT_CA 

CA import failed - not a CA cert.

IMPORT_CERT_ALREADY_EXISTS 

Import failed - certificate already exists in database. Note it's a little weird this is an error but reimporting a PKCS12 is ok = no-op,. That's how Mozilla does it, though.

IMPORT_CA_CERT_FAILED 

CA import failed due to some other error.

IMPORT_SERVER_CERT_FAILED 

Server certificate import failed due to some internal error.

PKCS12_IMPORT_INVALID_MAC 

PKCS #12 import failed due to invalid MAC.

PKCS12_IMPORT_INVALID_FILE 

PKCS #12 import failed due to invalid/corrupt file.

PKCS12_IMPORT_UNSUPPORTED 

PKCS #12 import failed due to unsupported features.

KEY_GENERATION_FAILED 

Key generation failed.

ORIGIN_BOUND_CERT_GENERATION_FAILED 

Server-bound certificate generation failed.

PRIVATE_KEY_EXPORT_FAILED 

Failure to export private key.

DNS_MALFORMED_RESPONSE 

DNS resolver received a malformed response.

DNS_SERVER_REQUIRES_TCP 

DNS server requires TCP

DNS_SERVER_FAILED 

DNS server failed. This error is returned for all of the following error conditions:

1 - Format error - The name server was unable to interpret the query.

2 - Server failure - The name server was unable to process this query due to a problem with the name server.

4 - Not Implemented - The name server does not support the requested kind of query.

5 - Refused - The name server refuses to perform the specified operation for policy reasons.

DNS_TIMED_OUT 

DNS transaction timed out.

DNS_CACHE_MISS 

The entry was not found in cache, for cache-only lookups.

DNS_SEARCH_EMPTY 

Suffix search list rules prevent resolution of the given host name.

DNS_SORT_ERROR 

Failed to sort addresses according to RFC3484.

Function Documentation

delegate void DotNetBrowser.Events.ConsoleMessageHandler ( object  sender,
ConsoleEventArgs  e 
)

Represents the method that will handle event that indicates that the message was added to the console.

Parameters
senderThe source of the event.
eThe event data ConsoleEventArgs.
delegate void DotNetBrowser.Events.DisposeEventHandler ( object  sender,
DisposeEventArgs  e 
)

Represents the method that will handle event that indicates that browser instance disposed.

Parameters
senderThe source of the event.
eThe event data DisposeEventArgs.
delegate void DotNetBrowser.Events.DocumentLoadedInFrameHandler ( object  sender,
FrameLoadEventArgs  e 
)

Represents the method that will handle event that indicates that frame with a document is loaded.

Parameters
senderThe source of the event.
eThe event data StartLoadingArgs.
delegate void DotNetBrowser.Events.DocumentLoadedInMainFrameHandler ( object  sender,
LoadEventArgs  e 
)

Represents the method that will handle event that indicates that main frame with a document is loaded.

Parameters
senderThe source of the event.
eThe event data StartLoadingArgs.
delegate void DotNetBrowser.Events.DownloadEventHandler ( object  sender,
DownloadEventArgs  e 
)

Represents the method that will handle event that indicates when download updates its state.

Parameters
senderThe source of the event.
eThe event data DownloadEventArgs.
delegate void DotNetBrowser.Events.DragDropHandler ( object  sender,
DragDropEventArgs  e 
)

Represents the method that will handle event that indicates that DragDrop event has started.

Parameters
senderThe source of the event.
eThe event data DragDropEventArgs.
delegate void DotNetBrowser.Events.FailLoadingFrameHandler ( object  sender,
FailLoadingEventArgs  e 
)

Represents the method that will handle event that indicates that frame loading process has been failed.

Parameters
senderThe source of the event.
eThe event data FailLoadingEventArgs.
delegate void DotNetBrowser.Events.FinishLoadingFrameHandler ( object  sender,
FinishLoadingEventArgs  e 
)

Represents the method that will handle event that indicates that frame loading process has been finished.

Parameters
senderThe source of the event.
eThe event data FinishLoadingEventArgs.
delegate void DotNetBrowser.Events.GestureEventHandler ( object  sender,
GestureEventArgs  e 
)

Represents the method that will handle event that indicates that user has made a gesture interaction GestureType with device SourceDevice.

Parameters
senderThe source of the event.
eThe event data GestureEventArgs.
delegate void DotNetBrowser.Events.HandledGestureEventHandler ( object  sender,
HandledGestureEventArgs  e 
)

Represents the method that will handle event that indicates that user has made a gesture interaction GestureType with device SourceDevice and provides an ability to discard performed interaction.

Parameters
senderThe source of the event.
eThe event data GestureEventArgs.
delegate void DotNetBrowser.Events.NotificationOnCloseHandler ( NotificationEventArgs  e)

Represents the method that will handle event is being invoked when browser informs that notification should be closed. Notification can be closed in different ways: 1. Using the Notification.Close() method. 2. From JavaScript via Notification.close() JS function.

  1. Automatically in 20 seconds by Chromium engine if notification hasn't been closed yet.
Parameters
eThe event data NotificationEventArgs.
delegate void DotNetBrowser.Events.OnRedrawEventHandler ( object  sender,
OnRedrawEventArgs  e 
)

Represents the method that will handle event that indicates when content of loaded web page in the browser view has been rendered as image.

Parameters
senderThe source of the event.
eThe event data OnRedrawEventArgs.
delegate void DotNetBrowser.Events.OnRepaintEventHandler ( object  sender,
OnRepaintEventArgs  e 
)

Represents the method that will handle event that indicates when content of loaded web page in the browser view has been repainted.

Parameters
senderThe source of the event.
eThe event data OnRepaintEventArgs.
delegate void DotNetBrowser.Events.PrintJobEventHandler ( object  sender,
PrintJobEventArgs  e 
)

Represents the method that will handle event that indicates when printing job updates its state.

Parameters
senderThe source of the event.
eThe event data PrintJobEventArgs.
delegate void DotNetBrowser.Events.ProvisionalLoadingFrameHandler ( object  sender,
ProvisionalLoadingArgs  e 
)

Represents the method that will handle event that indicates that provisional load for a specified frame was successfully committed.

Parameters
senderThe source of the event.
eThe event data StartLoadingArgs.
delegate void DotNetBrowser.Events.RenderCreatedHandler ( object  sender,
RenderEventArgs  e 
)

Represents the method that will handle event that indicates that the render process is gone or created.

Parameters
senderThe source of the event.
eThe event data RenderEventArgs.
delegate void DotNetBrowser.Events.ScriptContextCreatedHandler ( object  sender,
ScriptContextEventArgs  e 
)

Represents the method that will handle event that indicates that JavaScript context has been created.

Parameters
senderThe source of the event.
eThe event data ScriptContextEventArgs.
delegate void DotNetBrowser.Events.ScriptContextDestroyedHandler ( object  sender,
ScriptContextEventArgs  e 
)

Represents the method that will handle event that indicates that JavaScript context has been destroyed.

Parameters
senderThe source of the event.
eThe event data ScriptContextEventArgs.
delegate void DotNetBrowser.Events.SpellCheckCompletedHandler ( object  sender,
SpellCheckCompletedEventArgs  e 
)

Represents the method that will handle event that indicates that the spell check process is completed.

Parameters
senderThe source of the event.
eThe event data SpellCheckCompletedEventArgs.
delegate void DotNetBrowser.Events.StartLoadingFrameHandler ( object  sender,
StartLoadingArgs  e 
)

Represents the method that will handle event that indicates that frame loading process has been started.

Parameters
senderThe source of the event.
eThe event data StartLoadingArgs.
delegate void DotNetBrowser.Events.StatusEventHandler ( object  sender,
StatusEventArgs  e 
)

Represents the method that will handle event that indicates that the status has been changed.

Parameters
senderThe source of the event.
eThe event data StatusEventArgs.
delegate void DotNetBrowser.Events.TitleChangedHandler ( object  sender,
TitleEventArgs  e 
)

Represents the method that will handle event that indicates that the title of a document in main frame has been changed.

Parameters
senderThe source of the event.
eThe event data TitleEventArgs.
delegate void DotNetBrowser.Events.ZoomChangedHandler ( object  sender,
ZoomEventArgs  e 
)

Represents the method that will handle event that indicates that the zoom of a document in main frame has been changed.

Parameters
senderThe source of the event.
eThe event data ZoomEventArgs.