encryptMethod

Type: String

The encryptMethod property of the TcpIpConnection class contains the name of the encryption method in the encryption and decryption library that is executed after a successful writeBinary or writeBinaryAsynch operation.

The code fragment in the following example shows the use of the encryptMethod property.

if cryptConf <> null then
    self.tcp.cryptLibrary  := cryptConf.cryptLib;
    self.tcp.encryptMethod := cryptConf.encryptMethod;
    self.tcp.decryptMethod := cryptConf.decryptMethod;
endif;