TsgcWebSocketClient › Properties › TLS
Enables a secure TLS/SSL connection to the WebSocket server.
public bool TLS { get; set; }
False
Set TLS to True to negotiate a secure (wss://) connection. Additional TLS parameters (certificate files, verification, TLS version, IOHandler) are configured through TLSOptions. Assigning a wss:// URL automatically sets TLS to True.
oClient = new TsgcWebSocketClient();
oClient.Host = "www.esegece.com";
oClient.Port = 2053;
oClient.TLS = true;
oClient.Active = true;