Mentalis.org Security Library documentation

SecureSocket Methods

The methods of the SecureSocket class are listed below. For a complete list of SecureSocket class members, see the SecureSocket Members topic.

Public Instance Methods

Accept Creates a new SecureSocket to handle an incoming connection request.
BeginAccept Begins an asynchronous request to create a new SecureSocket to accept an incoming connection request.
BeginConnect Begins an asynchronous request for a connection to a network device.
BeginReceive Begins to asynchronously receive data from a connected SecureSocket.
BeginReceiveFrom (inherited from VirtualSocket) Begins to asynchronously receive data from a specified network device.
BeginSend Sends data asynchronously to a connected SecureSocket.
BeginSendTo (inherited from VirtualSocket) Sends data asynchronously to a specific remote host.
BeginShutdown Begins an asynchronous request to shut the connection down.
Bind (inherited from VirtualSocket) Associates a VirtualSocket with a local endpoint.
ChangeSecurityProtocol Changes the security protocol.
Close Forces a SecureSocket connection to close.
Connect Establishes a connection to a remote device and optionally negotiates a secure transport protocol.
EndAccept Ends an asynchronous request to create a new SecureSocket to accept an incoming connection request.
EndConnect Ends a pending asynchronous connection request.
EndReceive Ends a pending asynchronous read.
EndReceiveFrom (inherited from VirtualSocket) Ends a pending asynchronous read from a specific endpoint.
EndSend Ends a pending asynchronous send.
EndSendTo (inherited from VirtualSocket) Ends a pending asynchronous send to a specific location.
EndShutdown Ends an asynchronous request to shut the connection down.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from VirtualSocket) This member overrides Object.GetHashCode.
GetSocketOption (inherited from VirtualSocket)Overloaded. Returns the value of the specified Socket option and returns in an array.
GetType (inherited from Object)Gets the Type of the current instance.
IOControl (inherited from VirtualSocket) Sets low-level operating modes for the VirtualSocket.
Listen (inherited from VirtualSocket) Places a VirtualSocket in a listening state.
Poll (inherited from VirtualSocket) Determines the status of the VirtualSocket.
QueueRenegotiate Queues a renegotiation request.
ReceiveOverloaded. Receives data from a connected SecureSocket into a specific location of the receive buffer.
ReceiveFrom (inherited from VirtualSocket)Overloaded. Receives a datagram in a specific location in the data buffer and stores the endpoint.
SendOverloaded. Sends data to a connected SecureSocket, starting at the indicated location in the data.
SendTo (inherited from VirtualSocket)Overloaded. Sends data to a specific endpoint, starting at the indicated location in the data.
SetSocketOption (inherited from VirtualSocket)Overloaded. Sets the specified option to the specified value.
Shutdown Shuts down the secure connection.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize Frees resources used by the SecureSocket class.
InternalAccept (inherited from VirtualSocket) Creates a new Socket to handle an incoming connection request.
InternalEndAccept (inherited from VirtualSocket) Ends an asynchronous request to create a new Socket to accept an incoming connection request.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

SecureSocket Class | Org.Mentalis.Security.Ssl Namespace