Click or drag to resize

TlsClient Methods

The TlsClient type exposes the following members.

Methods
  Name Description
Public method BeginInit Performs necessary operations before the client properties are initialized.
(Inherited from ClientBase)
Public method Connect Connects the client to the server synchronously.
(Inherited from ClientBase)
Public method ConnectAsync Connects the TlsClient to the server asynchronously.
(Overrides ClientBaseConnectAsync)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public method Disconnect When overridden in a derived class, disconnects client from the server synchronously.
(Overrides ClientBaseDisconnect)
Public method Dispose Releases all resources used by the Component.
(Inherited from Component)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the TlsClient and optionally releases the managed resources.
(Overrides ClientBaseDispose(Boolean))
Public method EndInit Performs necessary operations after the client properties are initialized.
(Inherited from ClientBase)
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method Initialize Initializes the client.
(Inherited from ClientBase)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public method LoadSettings Loads saved TlsClient settings from the config file if the PersistSettings property is set to true.
(Overrides ClientBaseLoadSettings)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Protected method OnConnectionAttempt Raises the ConnectionAttempt event.
(Inherited from ClientBase)
Protected method OnConnectionEstablished Raises the ConnectionEstablished event.
(Inherited from ClientBase)
Protected method OnConnectionException Raises the ConnectionException event.
(Inherited from ClientBase)
Protected method OnConnectionTerminated Raises the ConnectionTerminated event.
(Inherited from ClientBase)
Protected method OnReceiveData Raises the ReceiveData event.
(Inherited from ClientBase)
Protected method OnReceiveDataComplete Raises the ReceiveDataComplete event.
(Inherited from ClientBase)
Protected method OnReceiveDataException(Exception) Raises the ReceiveDataException event.
(Overrides ClientBaseOnReceiveDataException(Exception))
Protected method OnReceiveDataException(SocketException) Raises the ReceiveDataException event.
Protected method OnSendDataComplete Raises the SendDataComplete event.
(Inherited from ClientBase)
Protected method OnSendDataException Raises the SendDataException event.
(Overrides ClientBaseOnSendDataException(Exception))
Protected method OnSendDataStart Raises the SendDataStart event.
(Inherited from ClientBase)
Protected method OnUnhandledUserException Raises the UnhandledUserException event.
(Inherited from ClientBase)
Public method Read When overridden in a derived class, reads a number of bytes from the current received data buffer and writes those bytes into a byte array at the specified offset.
(Overrides ClientBaseRead(Byte, Int32, Int32))
Public method RequestNextServerIndex Requests that the client attempt to move to the next ServerIndex.
(Overrides ClientBaseRequestNextServerIndex)
Public method SaveSettings Saves TlsClient settings to the config file if the PersistSettings property is set to true.
(Overrides ClientBaseSaveSettings)
Public method Send(Byte) Sends data to the server synchronously.
(Inherited from ClientBase)
Public method Send(Object) Sends data to the server synchronously.
(Inherited from ClientBase)
Public method Send(String) Sends data to the server synchronously.
(Inherited from ClientBase)
Public method Send(Byte, Int32, Int32) Sends data to the server synchronously.
(Inherited from ClientBase)
Public method SendAsync(Byte) Sends data to the server asynchronously.
(Inherited from ClientBase)
Public method SendAsync(Object) Sends data to the server asynchronously.
(Inherited from ClientBase)
Public method SendAsync(String) Sends data to the server asynchronously.
(Inherited from ClientBase)
Public method SendAsync(Byte, Int32, Int32) Sends data to the server asynchronously.
(Inherited from ClientBase)
Protected method SendDataAsync When overridden in a derived class, sends data to the server asynchronously.
(Overrides ClientBaseSendDataAsync(Byte, Int32, Int32))
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component)
Protected method UpdateBytesReceived Updates the Statistics pertaining to bytes received.
(Inherited from ClientBase)
Protected method UpdateBytesSent Updates the Statistics pertaining to bytes sent.
(Inherited from ClientBase)
Protected method ValidateConnectionString When overridden in a derived class, validates the specified connectionString.
(Overrides ClientBaseValidateConnectionString(String))
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also