From Xojo Documentation

Revision as of 13:13, 13 April 2020 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.