Skip to content

Commit 4d32d4d

Browse files
authored
Update SslClientAuthenticationOptions.TargetHost (#9583)
1 parent 2fdabe9 commit 4d32d4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/System.Net.Security/SslClientAuthenticationOptions.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,9 @@
473473
<ReturnType>System.String</ReturnType>
474474
</ReturnValue>
475475
<Docs>
476-
<summary>Gets or sets the name of the server the client is trying to connect to. That name is used for server certificate validation. It can be a DNS name or an IP address.</summary>
477-
<value>To be added.</value>
478-
<remarks>To be added.</remarks>
476+
<summary>Gets or sets the name of the server the client is trying to connect to. The name is used for server certificate validation and can be a DNS name or an IP address.</summary>
477+
<value>The name of the server the client is trying to connect to. If set to <see langword="null" /> (.NET 7 and later versions only) or an empty string, the client doesn't send the host name in the Server Name Indication extension.</value>
478+
<remarks>If the value is <see langword="null" /> or an empty string, you should also provide a <see cref="T:System.Net.Security.RemoteCertificateValidationCallback" /> and validate the subject of the server's certificate.</remarks>
479479
</Docs>
480480
</Member>
481481
</Members>

0 commit comments

Comments
 (0)