Skip to content

Commit a146692

Browse files
authored
Clarify remark on SslStream.SslProtocol property (#8453)
* Clarify remark on SslStream.SslProtocol property * Code review feedback
1 parent 00c277e commit a146692

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

xml/System.Net.Security/SslStream.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4505,8 +4505,9 @@ This property gets the cipher suite that is going to be used in the communicatio
45054505
<format type="text/markdown"><![CDATA[
45064506
45074507
## Remarks
4508-
The supported security protocols are specified when the <xref:System.Net.Security.SslStream> is created. If no security protocol was passed to the constructor, the instance is created using <xref:System.Security.Authentication.SslProtocols.Default>. The actual protocol used for authentication is selected based on the protocols supported by the client and server.
4509-
4508+
The enabled security protocols can be specified in <xref:System.Net.Security.SslStream.AuthenticateAsClient%2A> or via <xref:System.Net.Security.SslClientAuthenticationOptions.EnabledSslProtocols> and <xref:System.Net.Security.SslStream.AuthenticateAsServer%2A> or <xref:System.Net.Security.SslServerAuthenticationOptions.EnabledSslProtocols>. If no security protocol was explicitly specified, the <xref:System.Security.Authentication.SslProtocols.Default> value is used.
4509+
4510+
The actual protocol used for authentication is selected based on the ones supported by the client and server.
45104511
45114512
45124513
## Examples

0 commit comments

Comments
 (0)