The TlsSocket type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() ![]() | TlsSocket()()()() |
Initializes an instance of the TlsSocket class.
|
![]() ![]() | TlsSocket(AddressFamily) | |
![]() ![]() | TlsSocket(Socket) |
Initializes an instance of the TlsSocket class with the specified base socket.
|
![]() ![]() | TlsSocket(ISocket) |
Initializes an instance of the TlsSocket class with the specified base socket.
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | Accept | |
![]() ![]() | BeginAccept | |
![]() ![]() | BeginConnect(EndPoint, AsyncCallback, Object) |
Begins an asynchronous request for a connection to a network device.
|
![]() ![]() | BeginConnect(String, Int32, AsyncCallback, Object) |
Begins an asynchronous request for a connection to a network device.
|
![]() ![]() | BeginListen | |
![]() ![]() | BeginNegotiate |
Negotiates TLS/SSL cipher.
|
![]() ![]() | BeginReceive |
Ends a pending asynchronous read.
|
![]() ![]() | BeginSend |
Sends data asynchronously to a connected ISocket.
|
![]() ![]() | Close |
Forces a TlsSocket connection to close.
|
![]() ![]() | Connect(EndPoint) |
Establishes a connection to a remote device.
|
![]() ![]() | Connect(String, Int32) |
Establishes a connection to a remote device.
|
![]() ![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() ![]() | EndAccept | |
![]() ![]() | EndConnect |
Ends a pending asynchronous connection request.
|
![]() ![]() | EndListen | |
![]() ![]() | EndNegotiate |
Ends a pending asynchronous negotiation.
|
![]() ![]() | EndReceive |
Ends a pending asynchronous read.
|
![]() ![]() | EndSend |
Ends a pending asynchronous send.
|
![]() ![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetConnectionState |
Gets a value that indicates whether the SocketState is currently connected to a remote host.
|
![]() ![]() | GetHashCode | (Overrides Object..::..GetHashCode()()()().) |
![]() ![]() | GetObject |
Used internally by Rebex components.
|
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Listen | |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Negotiate |
Negotiates TLS/SSL cipher.
|
![]() ![]() | OnDebug | Obsolete. |
![]() ![]() | Poll |
Determines the status of the socket.
|
![]() ![]() | Receive(ArraySegment<(Of <<'(Byte>)>>)) |
Receives data from a connected TlsSocket.
|
![]() ![]() | Receive(array<Byte>[]()[][]) |
Receives data from a connected TlsSocket.
|
![]() ![]() | Receive(array<Byte>[]()[][], SocketFlags) |
Receives data from a connected TlsSocket using the supplied flags.
|
![]() ![]() | Receive(array<Byte>[]()[][], Int32, Int32) |
Receives the specified amount of data from a connected TlsSocket into a specific location of the receive buffer and using the supplied flags.
|
![]() ![]() | Receive(array<Byte>[]()[][], Int32, SocketFlags) |
Receives the specified amount of data from a connected TlsSocket using the supplied flags.
|
![]() ![]() | Receive(array<Byte>[]()[][], Int32, Int32, SocketFlags) |
Receives the specified amount of data from a connected TlsSocket into a specific location of the receive buffer and using the supplied flags.
|
![]() ![]() | Renegotiate |
Renegotiates TLS/SSL cipher (if allowed by the other side).
|
![]() ![]() | Send(ArraySegment<(Of <<'(Byte>)>>)) |
Sends data to a connected TlsSocket.
|
![]() ![]() | Send(array<Byte>[]()[][]) |
Sends data to a connected TlsSocket.
|
![]() ![]() | Send(array<Byte>[]()[][], SocketFlags) |
Sends data to a connected TlsSocket using the supplied flags.
|
![]() ![]() | Send(array<Byte>[]()[][], Int32, Int32) |
Sends the specified amount of data to a connected TlsSocket starting at the indicated location in the data and using the supplied flags.
|
![]() ![]() | Send(array<Byte>[]()[][], Int32, SocketFlags) |
Sends the specified amount of data to a connected TlsSocket using the supplied flags.
|
![]() ![]() | Send(array<Byte>[]()[][], Int32, Int32, SocketFlags) |
Sends the specified amount of data to a connected TlsSocket starting at the indicated location in the data and using the supplied flags.
|
![]() ![]() | Shutdown |
Disables sends and receives on a TlsSocket.
|
![]() ![]() | ToString |
Returns a string representation of this object.
(Overrides Object..::..ToString()()()().) |
![]() ![]() | Unprotect |
Reverts back to an unencrypted socket.
|
Properties
Name | Description | |
---|---|---|
![]() ![]() | Available |
Gets the amount of data that has been received from the network and is available to be read.
|
![]() ![]() | Cipher |
Gets the active cipher.
|
![]() ![]() | ClientCertificate |
Gets the client's certificate chain.
|
![]() ![]() | CompressionMethod |
Gets the active data compression method.
|
![]() ![]() | Connected |
Gets a value indicating whether a TlsSocket is connected to a remote resource.
|
![]() ![]() | Context |
Gets or sets a custom context object associated with this TlsSocket.
|
![]() ![]() | DebugLevel | Obsolete. |
![]() ![]() | Entity |
Gets the entity.
|
![]() ![]() | Factory |
Gets the instance of ISocketFactory that created this ISocket.
|
![]() ![]() | Information |
Gets socket information on the underlying socket object.
|
![]() ![]() | IsSecure |
Gets the current security state of the connection.
|
![]() ![]() | LocalEndPoint |
Gets the local endpoint.
|
![]() ![]() | LogWriter |
Gets or sets the logger used by this object.
|
![]() ![]() | Parameters |
Gets or sets the security parameters of the current socket.
|
![]() ![]() | RemoteEndPoint |
Gets the remote endpoint.
|
![]() ![]() | ServerCertificate |
Gets the server's certificate chain.
|
![]() ![]() | Session |
Gets the connection session
|
![]() ![]() | SessionID | Obsolete. |
![]() ![]() | Socket |
Gets the internal Socket value (only for sockets based on Socket or ProxySocket, otherwise null is returned).
|
![]() ![]() | Timeout |
Gets or sets the length of time, in milliseconds, until the operation times out,
or the value -1 or 0 to indicate that the operation does not time out.
|
Events
Name | Description | |
---|---|---|
![]() ![]() | Debug | Obsolete. |