From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

aSSLSocket.SSLConnectionType = newSSLSocket.SSLConnectionTypesValue
SSLSocket.SSLConnectionTypesValue = aSSLSocket.SSLConnectionType

New in 2019r2

Supported for all project types and targets.

Specifies the type of SSL connection.


Use the SSLSocket constant names for ConnectionType, and not the integer values so that the IDE can warn you when constants are removed or deprecated.

Set this property by assigning a SSLConnectionTypes value to it.

The default is TLSv1. If you need to change the connection type, close the connection first.


This example changes the connection type to TLSv1.

Socket1.SSLConnectionType = SSLSocket.SSLConnectionTypes.TLSv1

See Also

SSLSocket.SSLConnectionTypes enum.