The TlsSocket type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkTlsSocket()()()()
Initializes an instance of the TlsSocket class.
Public methodSupported by the .NET Compact FrameworkTlsSocket(AddressFamily)
Public methodSupported by the .NET Compact FrameworkTlsSocket(Socket)
Initializes an instance of the TlsSocket class with the specified base socket.
Public methodSupported by the .NET Compact FrameworkTlsSocket(ISocket)
Initializes an instance of the TlsSocket class with the specified base socket.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAccept
Public methodSupported by the .NET Compact FrameworkBeginAccept
Public methodSupported by the .NET Compact FrameworkBeginConnect(EndPoint, AsyncCallback, Object)
Begins an asynchronous request for a connection to a network device.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, AsyncCallback, Object)
Begins an asynchronous request for a connection to a network device.
Public methodSupported by the .NET Compact FrameworkBeginListen
Public methodSupported by the .NET Compact FrameworkBeginNegotiate
Negotiates TLS/SSL cipher.
Public methodSupported by the .NET Compact FrameworkBeginReceive
Ends a pending asynchronous read.
Public methodSupported by the .NET Compact FrameworkBeginSend
Sends data asynchronously to a connected ISocket.
Public methodSupported by the .NET Compact FrameworkClose
Forces a TlsSocket connection to close.
Public methodSupported by the .NET Compact FrameworkConnect(EndPoint)
Establishes a connection to a remote device.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32)
Establishes a connection to a remote device.
Public methodSupported by the .NET Compact FrameworkDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodSupported by the .NET Compact FrameworkEndAccept
Public methodSupported by the .NET Compact FrameworkEndConnect
Ends a pending asynchronous connection request.
Public methodSupported by the .NET Compact FrameworkEndListen
Public methodSupported by the .NET Compact FrameworkEndNegotiate
Ends a pending asynchronous negotiation.
Public methodSupported by the .NET Compact FrameworkEndReceive
Ends a pending asynchronous read.
Public methodSupported by the .NET Compact FrameworkEndSend
Ends a pending asynchronous send.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetConnectionState
Gets a value that indicates whether the SocketState is currently connected to a remote host.
Public methodSupported by the .NET Compact FrameworkGetHashCode (Overrides Object..::..GetHashCode()()()().)
Public methodSupported by the .NET Compact FrameworkGetObject
Used internally by Rebex components.
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkListen
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkNegotiate
Negotiates TLS/SSL cipher.
Protected methodSupported by the .NET Compact FrameworkOnDebug Obsolete.
Public methodSupported by the .NET Compact FrameworkPoll
Determines the status of the socket.
Public methodSupported by the .NET Compact FrameworkReceive(ArraySegment<(Of <<'(Byte>)>>))
Receives data from a connected TlsSocket.
Public methodSupported by the .NET Compact FrameworkReceive(array<Byte>[]()[][])
Receives data from a connected TlsSocket.
Public methodSupported by the .NET Compact FrameworkReceive(array<Byte>[]()[][], SocketFlags)
Receives data from a connected TlsSocket using the supplied flags.
Public methodSupported by the .NET Compact FrameworkReceive(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.
Public methodSupported by the .NET Compact FrameworkReceive(array<Byte>[]()[][], Int32, SocketFlags)
Receives the specified amount of data from a connected TlsSocket using the supplied flags.
Public methodSupported by the .NET Compact FrameworkReceive(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.
Public methodSupported by the .NET Compact FrameworkRenegotiate
Renegotiates TLS/SSL cipher (if allowed by the other side).
Public methodSupported by the .NET Compact FrameworkSend(ArraySegment<(Of <<'(Byte>)>>))
Sends data to a connected TlsSocket.
Public methodSupported by the .NET Compact FrameworkSend(array<Byte>[]()[][])
Sends data to a connected TlsSocket.
Public methodSupported by the .NET Compact FrameworkSend(array<Byte>[]()[][], SocketFlags)
Sends data to a connected TlsSocket using the supplied flags.
Public methodSupported by the .NET Compact FrameworkSend(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.
Public methodSupported by the .NET Compact FrameworkSend(array<Byte>[]()[][], Int32, SocketFlags)
Sends the specified amount of data to a connected TlsSocket using the supplied flags.
Public methodSupported by the .NET Compact FrameworkSend(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.
Public methodSupported by the .NET Compact FrameworkShutdown
Disables sends and receives on a TlsSocket.
Public methodSupported by the .NET Compact FrameworkToString
Returns a string representation of this object.
(Overrides Object..::..ToString()()()().)
Public methodSupported by the .NET Compact FrameworkUnprotect
Reverts back to an unencrypted socket.

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkAvailable
Gets the amount of data that has been received from the network and is available to be read.
Public propertySupported by the .NET Compact FrameworkCipher
Gets the active cipher.
Public propertySupported by the .NET Compact FrameworkClientCertificate
Gets the client's certificate chain.
Public propertySupported by the .NET Compact FrameworkCompressionMethod
Gets the active data compression method.
Public propertySupported by the .NET Compact FrameworkConnected
Gets a value indicating whether a TlsSocket is connected to a remote resource.
Public propertySupported by the .NET Compact FrameworkContext
Gets or sets a custom context object associated with this TlsSocket.
Public propertySupported by the .NET Compact FrameworkDebugLevel Obsolete.
Public propertySupported by the .NET Compact FrameworkEntity
Gets the entity.
Public propertySupported by the .NET Compact FrameworkFactory
Gets the instance of ISocketFactory that created this ISocket.
Public propertySupported by the .NET Compact FrameworkInformation
Gets socket information on the underlying socket object.
Public propertySupported by the .NET Compact FrameworkIsSecure
Gets the current security state of the connection.
Public propertySupported by the .NET Compact FrameworkLocalEndPoint
Gets the local endpoint.
Public propertySupported by the .NET Compact FrameworkLogWriter
Gets or sets the logger used by this object.
Public propertySupported by the .NET Compact FrameworkParameters
Gets or sets the security parameters of the current socket.
Public propertySupported by the .NET Compact FrameworkRemoteEndPoint
Gets the remote endpoint.
Public propertySupported by the .NET Compact FrameworkServerCertificate
Gets the server's certificate chain.
Public propertySupported by the .NET Compact FrameworkSession
Gets the connection session
Public propertySupported by the .NET Compact FrameworkSessionID Obsolete.
Public propertySupported by the .NET Compact FrameworkSocket
Gets the internal Socket value (only for sockets based on Socket or ProxySocket, otherwise null is returned).
Public propertySupported by the .NET Compact FrameworkTimeout
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

  NameDescription
Public eventSupported by the .NET Compact FrameworkDebug Obsolete.

See Also