SSLSocket.Secure

From Xojo Documentation

Property (As Boolean )
aSSLSocket.Secure = newBooleanValue
or
BooleanValue = aSSLSocket.Secure

Supported for all project types and targets.

Set to True to specify an SSL connection.

Notes

If Secure is False, the SSLSocket transmits data just like a TCPSocket. The Secure property can be toggled at any time.

Sample Code

Me.Secure = True