Socket.SSL.GetMethod
--------------------

Queries the SSL method.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Socket](component_Socket.md) | [3.5](newinversion35.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Socket.SSL.GetMethod"; SocketID ) 

**MBS**( **"Socket.SSL.GetMethod";** /\* Queries the SSL method. \*/  
**$SocketID**) /\* The socket ID received by [Socket.Connect](SocketConnect.md) function.e.g. $sock \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| SocketID | The socket ID received by [Socket.Connect](SocketConnect.md) function. | $sock |

### Result

Returns OK on success.

### Description

Queries the SSL method.  
### See also

- [Socket.Connect](SocketConnect.md)
- [Socket.SSL.SetMethod](SocketSSLSetMethod.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[Socket.SSL.Connect](SocketSSLConnect.md) - [Socket.SSL.Initialize](SocketSSLInitialize.md)

[HTML Version](SocketSSLGetMethod.shtml)