From Xojo Documentation
Property (As Integer )
Specifies the type of SSL connection.
|NOTE: 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.|
ConnectionType can take the following SSLSocket class constants:
|SSLv23||1||A TLS/SSL connection established with this constant may understand the SSLv3, TLSv1, TLSv1.1 and TLSv1.2 protocols. If extensions are required (for example server name) a client will send out TLSv1 client hello messages including extensions and will indicate that it also understands TLSv1.1, TLSv1.2 and permits a fallback to SSLv3. A server will support SSLv3, TLSv1, TLSv1.1 and TLSv1.2 protocols. This is the best choice when compatibility is a concern.|
|TLSv1||3||TLS (Transport Layer Security) version 1. (default)|
|TLSv11||4||TLS (Transport Layer Security) version 1.1|
|TLSv12||5||TLS (Transport Layer Security) version 1.2|
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.ConnectionType = SSLSocket.TLSv1