SSLSocket.SSLConnectionType

From Xojo Documentation

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

New in 2019r2

Supported for all project types and targets.

Specifies the type of SSL connection.

Notes

fa-info-circle-32.png
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.

Example

This example changes the connection type to TLSv1.

Socket1.SSLConnectionType = SSLSocket.SSLConnectionTyples.TLSv1

See Also

SSLSocket.SSLConnectionTypes enum.