Gets and sets a value which specifies if a secure connection is established.
Returns true if a secure connection is established; otherwise returns false. The default value is false.
The Secure property determines if a secure connection is established with the remote host. The default value for this property is false, which specifies that a standard connection to the server is used. To establish a secure connection, the application should set this property value to true prior to calling the Connect method. Once the connection has been established, the client may exchange data with the server as with standard connections.
It is strongly recommended that any application that sets this property true use error handling to trap an errors that may occur. If the class is unable to initialize the security libraries, or otherwise cannot create a secure session for the client, an exception may be generated when this property value is set to true.
FileTransfer Class | SocketTools Namespace