The following tables list the members exposed by ProxySocket.

      Public Constructors

      NameDescription
      Public ConstructorsProxySocket ConstructorOverloaded. Initializes an empty instance of the ProxySocket class.
      Top

      Public Properties

      NameDescription
      Public PropertiesAuthenticationMethodGets the authentication method to use for HTTP CONNECT proxy. NTLM authentication is only supported by some HTTP CONNECT proxies.
      Public PropertiesAvailableGets the amount of data that has been received from the network and is available to be read.
      Public PropertiesConnectedGets a value that indicates whether the ProxySocket is connected to a remote host as of the last Send or Receive operation.
      Public PropertiesDomainGets the domain to submit to the proxy server for authentication.
      Public PropertiesHandleGets the operating system handle for the inner Socket.
      Public PropertiesInformationGets socket information on the underlying socket object.
      Public PropertiesLocalEndPointGets the local endpoint.
      Public PropertiesLocalPortRangeGets the local TCP port range to which to bind the connections.
      Public PropertiesPasswordGets the username to submit to the proxy server for authentication. Password authentication is not supported by SOCKS4 and SOCKS4a.
      Public PropertiesProxyHostGets the hostname of the proxy server.
      Public PropertiesProxyPortGets the port of the proxy server.
      Public PropertiesProxyTypeGets the type of the proxy server.
      Public PropertiesReceiveBufferSizeGets or sets receive buffer size. Must be set before calling the Connect method.
      Public PropertiesRemoteEndPointGets the remote endpoint.
      Public PropertiesSendBufferSizeGets or sets send buffer size. Must be set before calling the Connect method.
      Public PropertiesSocketGets the internal Socket value.
      Public PropertiesTimeoutGets or sets the length of time before the operation times out (specify -1 or 0 to indicate that the request does not time out which is default).
      Public PropertiesUserNameGets the username to submit to the proxy server for authentication.
      Top

      Public Methods

      NameDescription
      Public MethodsAcceptAccepts an incoming connection.
      Public MethodsBeginAcceptBegins an asynchronous request to accept an incoming connection.
      Public MethodsBeginConnectOverloaded. Begins an asynchronous request for a connection to a network device.
      Public MethodsBeginListenStarts an asynchronously request to listen for an incoming connection using the specified control socket as a base.
      Public MethodsBeginReceiveBegins to asynchronously receive data from a connected ProxySocket.
      Public MethodsBeginSendSends data asynchronously to a connected ProxySocket.
      Public MethodsCloseForces the ProxySocket connection to close.
      Public MethodsConnectOverloaded. Establishes a connection to a remote device.
      Public MethodsEndAcceptEnds an asynchronous request to accept an incoming connection.
      Public MethodsEndConnectEnds a pending asynchronous connection request.
      Public MethodsEndListenEnds an asynchronous request to listen for an incoming connection.
      Public MethodsEndReceiveEnds a pending asynchronous read.
      Public MethodsEndSendEnds a pending asynchronous send.
      Public MethodsStatic MemberGetAddressBytesReturns an array of bytes of the IP address of the instance of IPAddress.
      Public MethodsGetSessionStatusGets a value that indicates whether the ProxySocket is currently connected to a remote host.
      Public MethodsStatic MemberIsValidHostChecks whether the host address is a valid hostname or IP address.
      Public MethodsListenStarts a request to listen for an incoming connection using the specified control socket as a base.
      Public MethodsPollDetermines the status of the socket.
      Public MethodsReceiveOverloaded. Receives data from a connected ProxySocket.
      Public MethodsSendOverloaded. Sends data to a connected ProxySocket.
      Public MethodsShutdownDisables sends and receives on the ProxySocket.
      Public MethodsStatic MemberToEndPointOverloaded. Converts the host address and port into an IP endpoint. If the host address is not an IP address, returns null.
      Top

      See Also