Skip to content

Commit 86439e9

Browse files
authored
Default SSL protocol for Client WebSocketOptions is now TLS1.2 (#134)
1 parent 9e9e214 commit 86439e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

WebSockets/ClientWebSocket/ClientWebSocketOptions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ public class ClientWebSocketOptions : WebSocketOptions
1818
/// Gets or sets the TLS/SSL protocol used by the <see cref="WebSocket"/> class.
1919
/// </summary>
2020
/// <value>
21-
/// One of the values defined in the <see cref="SslProtocols"/> enumeration.
21+
/// One of the values defined in the <see cref="SslProtocols"/> enumeration. Default is <see cref="SslProtocols.Tls12"/>.
2222
/// </value>
2323
/// <remarks>
24-
/// This property is specific to nanoFramework. There is no equivalent in the .NET API.
24+
/// This property is specific to .NET nanoFramework. There is no equivalent in the .NET API.
2525
/// </remarks>
26-
public SslProtocols SslProtocol { get; set; }
26+
public SslProtocols SslProtocol { get; set; } = SslProtocols.Tls12;
2727

2828
/// <summary>
2929
/// Option for SSL verification.

0 commit comments

Comments
 (0)