PowerTCP FTP for .NET
TcpBase Class Methods


For a list of all members of this type, see TcpBase members.

Public Methods
 NameDescription
Public MethodAbort Performs a hard close of the connection.  
Public MethodAuthenticateAsClientOverloaded.  Authenticates the server when establishing a secure connection.  
Public MethodAuthenticateAsClientTaskAsyncOverloaded.  Authenticates the server when establishing a secure connection.  
Public MethodClose Gracefully closes the connection.  
Public MethodConnectConnect to a server using the configuration specified by session.  
Public MethodConnectAsyncConnect to a server using the configuration specified by session.  
Public MethodConnectTaskAsyncConnect to a server using the configuration specified by session.  
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded. Overridden.  Disposes of TcpBase and its associated resources.  
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodGetStream Provides access to the underlying Stream.  
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodMarshalOverloaded.  Marshals data to the UI thread.  
Public MethodReadOverloaded.  Receives data from the remote host.  
Public MethodReadAsync Start an asynchronous read on the socket.  
Public MethodReadTaskAsync Start an awaitable asynchronous read on the socket.  
Public MethodReadToCount Read until count bytes are read, an exception is thrown, or the connection is closed.  
Public MethodReadToDelimiterOverloaded.  Read until the delimiter is found, an exception is thrown, or the connection is closed.  
Public MethodReadToEnd Read until the connection is closed or an exception is thrown.  
Public MethodShutdownSsl Signals the remote host to shutdown the SSL connection.  
Public MethodToString (Inherited from System.ComponentModel.Component)
Public MethodWriteOverloaded.  Sends data to the remote host.  
Public MethodWriteAsync Start an asynchronous write on the socket.  
Public MethodWriteTaskAsync Start an awaitable asynchronous write on the socket.  
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnDataRaises the Data event.  
Protected MethodOnErrorRaises the Error event. (Inherited from Dart.Ftp.ComponentBase)
Protected MethodOnLogRaises the Log event.  
Protected MethodOnStateChangedRaises the StateChanged event.  
Protected MethodOnUserStateRaises the UserState event. (Inherited from Dart.Ftp.ComponentBase)
Top
See Also

Reference

TcpBase Class
Dart.Ftp Namespace


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic