TcpTextClient Class |
Namespace: Limilabs.FTP.Client
The TcpTextClient type exposes the following members.
Name | Description | |
---|---|---|
TcpTextClient |
Initializes a new instance of the TcpTextClient object.
Sets ReceiveTimeout and SendTimeout to 20 sec.
|
Name | Description | |
---|---|---|
Connected |
Gets a value indicating whether the underlying Socket is connected to a remote host.
This property makes a nonblocking, zero-byte Send call to determine the current state of the connection.
| |
IsEncrypted |
Gets a Boolean value that indicates whether communication to the remote server is encrypted.
| |
IsMutuallyAuthenticated |
Gets a Boolean value that indicates whether communication to the remote server is mutually authenticated.
| |
IsSigned |
Gets a Boolean value that indicates whether communication to the remote server is signed.
| |
ReceiveTimeout |
Gets or sets the amount of time the underlying Socket will wait to receive data once a read operation is initiated.
| |
SendTimeout |
Gets or sets the amount of time the underlying Socket will wait for a send operation to complete successfully.
| |
Socket |
Gets the underlying Socket.
| |
SSLConfiguration |
Gets SSL configuration for this object (client certificates, enabled SSL protocols).
| |
Stream |
Gets underlying read stream for current connection.
|
Name | Description | |
---|---|---|
BeginConnect(IPEndPoint, Boolean) |
Begins an asynchronous request for a remote server connection.
| |
BeginConnect(String, Int32) |
Begins an asynchronous request for a remote server connection. You can use BeginConnectSSL(String, Int32) when SSL connection is needed.
| |
BeginConnect(String, Int32, Boolean) |
Begins an asynchronous request for a remote server connection.
| |
BeginConnect(String, Int32, Boolean, AsyncCallback) |
Begins an asynchronous request for a remote server connection.
| |
BeginConnectSSL(String, Int32) |
Begins an asynchronous request for a remote server secure connection using SSL.
| |
BeginConnectSSL(String, Int32, AsyncCallback) |
Begins an asynchronous request for a remote server secure connection using SSL.
| |
Connect(IPEndPoint, Boolean) |
Connects to server.
| |
Connect(String, Int32) |
Connects to server. Use ConnectSSL(String, Int32) when SSL connection is needed.
| |
Connect(IPAddress, Int32, Boolean) |
Connects to server.
| |
Connect(String, Int32, Boolean) |
Connects to server.
| |
ConnectSSL |
Connects to server using SSL.
| |
Dispose |
Releases all resources acquired by this object. Closes connection, without issuing any quit commands.
| |
Dispose(Boolean) |
Releases all resources acquired by this object. Closes connection, without issuing any quit commands.
| |
EndConnect |
Ends a pending asynchronous connection request.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetServerGreeting |
Override this function to get server's greeting.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
KeepAliveTcp |
Sets TCP protocol keep alive (SO_KEEPALIVE) option on.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Send |
Sends the text command to server.
Adds "\r\n" to the command.
| |
SendAsync |
Sends the text command to server.
Adds "\r\n" to the command.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ServerCertificateValidate |
Event which is called for custom server certificate validation.
|