Dart.Ftp Namespace : TcpBase Class |
The following tables list the members exposed by TcpBase.
Name | Description | |
---|---|---|
CloseTime | Returns the DateTime the connection was closed. | |
ConnectTime | Returns the DateTime the connection was established. | |
Container | (Inherited from System.ComponentModel.Component) | |
Encoding | Character encoding used by the component. (Inherited from Dart.Ftp.ComponentBase) | |
NetworkStream | Returns the NetworkStream object created when Connect() is called. | |
RemoteEndPoint | Gets the remote address and port of the connection. | |
Site | (Inherited from System.ComponentModel.Component) | |
Socket | Gets the socket used by the component for communications. (Inherited from Dart.Ftp.SocketBase) | |
SocketOption | Gets and sets the socket options for classes derived from TcpBase. | |
SslStream | Returns the SslStream object created when AuthenticateAsClient or AuthenticateAsServer are called. | |
State | Gets the status of the connection as of the last socket operation. | |
SynchronizingObject | Gets or sets the object used to marshal data to the UI thread (for raising events). (Inherited from Dart.Ftp.ComponentBase) | |
SyncRoot | Gets an object that is used to synchronize access to the upper layer protocol in use. (Inherited from Dart.Ftp.ComponentBase) | |
Tag | Gets or sets an object that stores any user data. (Inherited from Dart.Ftp.ComponentBase) |
Name | Description | |
---|---|---|
CanRaiseEvents | (Inherited from System.ComponentModel.Component) | |
DesignMode | (Inherited from System.ComponentModel.Component) | |
Events | (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
Abort | Performs a hard close of the connection. | |
AuthenticateAsClient | Overloaded. Authenticates the server when establishing a secure connection. | |
AuthenticateAsClientTaskAsync | Overloaded. Authenticates the server when establishing a secure connection. | |
Close | Gracefully closes the connection. | |
Connect | Connect to a server using the configuration specified by session. | |
ConnectAsync | Connect to a server using the configuration specified by session. | |
ConnectTaskAsync | Connect to a server using the configuration specified by session. | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) | |
Dispose | Overloaded. Overridden. Disposes of TcpBase and its associated resources. | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
GetStream | Provides access to the underlying Stream. | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
Marshal | Overloaded. Marshals data to the UI thread. | |
Read | Overloaded. Receives data from the remote host. | |
ReadAsync | Start an asynchronous read on the socket. | |
ReadTaskAsync | Start an awaitable asynchronous read on the socket. | |
ReadToCount | Read until count bytes are read, an exception is thrown, or the connection is closed. | |
ReadToDelimiter | Overloaded. Read until the delimiter is found, an exception is thrown, or the connection is closed. | |
ReadToEnd | Read until the connection is closed or an exception is thrown. | |
ShutdownSsl | Signals the remote host to shutdown the SSL connection. | |
ToString | (Inherited from System.ComponentModel.Component) | |
Write | Overloaded. Sends data to the remote host. | |
WriteAsync | Start an asynchronous write on the socket. | |
WriteTaskAsync | Start an awaitable asynchronous write on the socket. |
Name | Description | |
---|---|---|
Finalize | (Inherited from System.ComponentModel.Component) | |
GetService | (Inherited from System.ComponentModel.Component) | |
MemberwiseClone | Overloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject) | |
OnData | Raises the Data event. | |
OnError | Raises the Error event. (Inherited from Dart.Ftp.ComponentBase) | |
OnLog | Raises the Log event. | |
OnStateChanged | Raises the StateChanged event. | |
OnUserState | Raises the UserState event. (Inherited from Dart.Ftp.ComponentBase) |
Name | Description | |
---|---|---|
Data | Raised when Marshal(Data,String,Object) is used. | |
Disposed | (Inherited from System.ComponentModel.Component) | |
Error | Raised when Marshal(Exception) is used or an unhandled Exception is thrown in a worker thread created using Start. (Inherited from Dart.Ftp.ComponentBase) | |
Log | Raised when data is read or written. | |
StateChanged | Raised when the value of the State property changes. | |
UserState | Raised when Marshal(String,Object) is used. (Inherited from Dart.Ftp.ComponentBase) |