<div class="meta" robots="noindex">

</div>

Property

# SSLSocket.Secure

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `SSLSocket.SSLEnabled<sslsocket.sslenabled>` as a replacement.

</div>

## Description

Set to `True</api/language/true>` to specify an SSL connection.

## Notes

If <span class="title-ref">Secure</span> is `False</api/language/false>`, the SSLSocket transmits data just like a `TCPSocket</api/networking/tcpsocket>`. The <span class="title-ref">Secure</span> property can be toggled at any time.

## Sample code

``` xojo
Me.Secure = True
```

## Compatibility

All project types on all supported operating systems.
