<param name="innerStream">A <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.AuthenticatedStream" /> for sending and receiving data.</param>
<param name="leaveInnerStreamOpen">A <see cref="T:System.Boolean" /> that indicates whether closing this <see cref="T:System.Net.Security.AuthenticatedStream" /> object also closes <paramref name="innerStream" />.</param>
<exception cref="T:System.ArgumentNullException">
- <paramref name="innerStream" /> is <see langword="null" />.
--or-
+ <paramref name="innerStream" /> is <see langword="null" />.
+-or-
<paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
</member>
<member name="M:System.Net.Security.AuthenticatedStream.Dispose(System.Boolean)">
<param name="leaveInnerStreamOpen">
<see langword="true" /> to indicate that closing this <see cref="T:System.Net.Security.NegotiateStream" /> has no effect on <paramref name="innerStream" />; <see langword="false" /> to indicate that closing this <see cref="T:System.Net.Security.NegotiateStream" /> also closes <paramref name="innerStream" />.</param>
<exception cref="T:System.ArgumentNullException">
- <paramref name="innerStream" /> is <see langword="null" />.
+ <paramref name="innerStream" /> is <see langword="null" />.
-or-
- <paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
+<paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.AuthenticateAsClient">
<summary>Called by clients to authenticate the client, and optionally the server, in a client-server connection.</summary>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.AuthenticateAsClient(System.Net.NetworkCredential,System.Security.Authentication.ExtendedProtection.ChannelBinding,System.String)">
<summary>Called by clients to authenticate the client, and optionally the server, in a client-server connection. The authentication process uses the specified client credential and the channel binding.</summary>
<param name="binding">The <see cref="T:System.Security.Authentication.ExtendedProtection.ChannelBinding" /> that is used for extended protection.</param>
<param name="targetName">The Service Principal Name (SPN) that uniquely identifies the server to authenticate.</param>
<exception cref="T:System.ArgumentNullException">
- <paramref name="targetName" /> is <see langword="null" />.
+ <paramref name="targetName" /> is <see langword="null" />.
-or-
- <paramref name="credential" /> is <see langword="null" />.</exception>
+<paramref name="credential" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.AuthenticateAsClient(System.Net.NetworkCredential,System.Security.Authentication.ExtendedProtection.ChannelBinding,System.String,System.Net.Security.ProtectionLevel,System.Security.Principal.TokenImpersonationLevel)">
<param name="requiredProtectionLevel">One of the <see cref="T:System.Net.Security.ProtectionLevel" /> values, indicating the security services for the stream.</param>
<param name="allowedImpersonationLevel">One of the <see cref="T:System.Security.Principal.TokenImpersonationLevel" /> values, indicating how the server can use the client's credentials to access resources.</param>
<exception cref="T:System.ArgumentNullException">
- <paramref name="targetName" /> is <see langword="null" />.
+ <paramref name="targetName" /> is <see langword="null" />.
-or-
- <paramref name="credential" /> is <see langword="null" />.</exception>
+<paramref name="credential" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="allowedImpersonationLevel" /> is not a valid value.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.AuthenticateAsClient(System.Net.NetworkCredential,System.String)">
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="targetName" /> is <see langword="null" />.</exception>
</member>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.AuthenticateAsClientAsync">
<summary>Called by clients to authenticate the client, and optionally the server, in a client-server connection as an asynchronous operation.</summary>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.AuthenticateAsClientAsync(System.Net.NetworkCredential,System.Security.Authentication.ExtendedProtection.ChannelBinding,System.String)">
<summary>Called by clients to authenticate the client, and optionally the server, in a client-server connection as an asynchronous operation. The authentication process uses the specified client credential and the channel binding.</summary>
<param name="targetName">The Service Principal Name (SPN) that uniquely identifies the server to authenticate.</param>
<returns>The task object representing the asynchronous operation.</returns>
<exception cref="T:System.ArgumentNullException">
- <paramref name="targetName" /> is <see langword="null" />.
+ <paramref name="targetName" /> is <see langword="null" />.
-or-
- <paramref name="credential" /> is <see langword="null" />.</exception>
+<paramref name="credential" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.AuthenticateAsClientAsync(System.Net.NetworkCredential,System.Security.Authentication.ExtendedProtection.ChannelBinding,System.String,System.Net.Security.ProtectionLevel,System.Security.Principal.TokenImpersonationLevel)">
<param name="allowedImpersonationLevel">One of the <see cref="T:System.Security.Principal.TokenImpersonationLevel" /> values, indicating how the server can use the client's credentials to access resources.</param>
<returns>The task object representing the asynchronous operation.</returns>
<exception cref="T:System.ArgumentNullException">
- <paramref name="targetName" /> is <see langword="null" />.
+ <paramref name="targetName" /> is <see langword="null" />.
-or-
- <paramref name="credential" /> is <see langword="null" />.</exception>
+<paramref name="credential" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="allowedImpersonationLevel" /> is not a valid value.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.AuthenticateAsClientAsync(System.Net.NetworkCredential,System.String)">
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="targetName" /> is <see langword="null" />.</exception>
</member>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.AuthenticateAsServer">
<summary>Called by servers to authenticate the client, and optionally the server, in a client-server connection.</summary>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to try to r-authenticate.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server.</exception>
+This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server.</exception>
<exception cref="T:System.NotSupportedException">Windows 95 and Windows 98 are not supported.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.AuthenticateAsServer(System.Net.NetworkCredential,System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy,System.Net.Security.ProtectionLevel,System.Security.Principal.TokenImpersonationLevel)">
<paramref name="requiredImpersonationLevel" /> must be <see cref="F:System.Security.Principal.TokenImpersonationLevel.Identification" />, <see cref="F:System.Security.Principal.TokenImpersonationLevel.Impersonation" />, or <see cref="F:System.Security.Principal.TokenImpersonationLevel.Delegation" />,</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to try to r-authenticate.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server.</exception>
+This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server.</exception>
<exception cref="T:System.NotSupportedException">Windows 95 and Windows 98 are not supported.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.PlatformNotSupportedException">The <paramref name="policy" /> parameter was set to <see cref="F:System.Security.Authentication.ExtendedProtection.PolicyEnforcement.Always" /> on a platform that does not support extended protection.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to try to r-authenticate.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server.</exception>
+This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server.</exception>
<exception cref="T:System.NotSupportedException">Windows 95 and Windows 98 are not supported.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.AuthenticateAsServerAsync(System.Net.NetworkCredential,System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy,System.Net.Security.ProtectionLevel,System.Security.Principal.TokenImpersonationLevel)">
<paramref name="requiredImpersonationLevel" /> must be <see cref="F:System.Security.Principal.TokenImpersonationLevel.Identification" />, <see cref="F:System.Security.Principal.TokenImpersonationLevel.Impersonation" />, or <see cref="F:System.Security.Principal.TokenImpersonationLevel.Delegation" />,</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to try to r-authenticate.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server.</exception>
+This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server.</exception>
<exception cref="T:System.NotSupportedException">Windows 95 and Windows 98 are not supported.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.PlatformNotSupportedException">The <paramref name="policy" /> parameter was set to <see cref="F:System.Security.Authentication.ExtendedProtection.PolicyEnforcement.Always" /> on a platform that does not support extended protection.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.BeginAuthenticateAsClient(System.Net.NetworkCredential,System.Security.Authentication.ExtendedProtection.ChannelBinding,System.String,System.AsyncCallback,System.Object)">
<summary>Called by clients to begin an asynchronous operation to authenticate the client, and optionally the server, in a client-server connection. The authentication process uses the specified credentials and channel binding. This method does not block.</summary>
<param name="asyncState">A user-defined object containing information about the write operation. This object is passed to the <paramref name="asyncCallback" /> delegate when the operation completes.</param>
<returns>An <see cref="T:System.IAsyncResult" /> object indicating the status of the asynchronous operation.</returns>
<exception cref="T:System.ArgumentNullException">
- <paramref name="credential" /> is <see langword="null" />.
+ <paramref name="credential" /> is <see langword="null" />.
-or-
- <paramref name="targetName" /> is <see langword="null" />.</exception>
+<paramref name="targetName" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.BeginAuthenticateAsClient(System.Net.NetworkCredential,System.Security.Authentication.ExtendedProtection.ChannelBinding,System.String,System.Net.Security.ProtectionLevel,System.Security.Principal.TokenImpersonationLevel,System.AsyncCallback,System.Object)">
<param name="asyncState">A user-defined object containing information about the write operation. This object is passed to the <paramref name="asyncCallback" /> delegate when the operation completes.</param>
<returns>An <see cref="T:System.IAsyncResult" /> object indicating the status of the asynchronous operation.</returns>
<exception cref="T:System.ArgumentNullException">
- <paramref name="credential" /> is <see langword="null" />.
+ <paramref name="credential" /> is <see langword="null" />.
-or-
- <paramref name="targetName" /> is <see langword="null" />.</exception>
+<paramref name="targetName" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.BeginAuthenticateAsClient(System.Net.NetworkCredential,System.String,System.AsyncCallback,System.Object)">
<param name="asyncState">A user-defined object containing information about the write operation. This object is passed to the <paramref name="asyncCallback" /> delegate when the operation completes.</param>
<returns>An <see cref="T:System.IAsyncResult" /> object indicating the status of the asynchronous operation.</returns>
<exception cref="T:System.ArgumentNullException">
- <paramref name="credential" /> is <see langword="null" />.
+ <paramref name="credential" /> is <see langword="null" />.
-or-
- <paramref name="targetName" /> is <see langword="null" />.</exception>
+<paramref name="targetName" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.BeginAuthenticateAsClient(System.Net.NetworkCredential,System.String,System.Net.Security.ProtectionLevel,System.Security.Principal.TokenImpersonationLevel,System.AsyncCallback,System.Object)">
<summary>Called by clients to begin an asynchronous operation to authenticate the client, and optionally the server, in a client-server connection. The authentication process uses the specified credentials and authentication options. This method does not block.</summary>
<param name="asyncState">A user-defined object containing information about the write operation. This object is passed to the <paramref name="asyncCallback" /> delegate when the operation completes.</param>
<returns>An <see cref="T:System.IAsyncResult" /> object indicating the status of the asynchronous operation.</returns>
<exception cref="T:System.ArgumentNullException">
- <paramref name="credential" /> is <see langword="null" />.
+ <paramref name="credential" /> is <see langword="null" />.
-or-
- <paramref name="targetName" /> is <see langword="null" />.</exception>
+<paramref name="targetName" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
+This stream was used previously to attempt authentication as the server. You cannot use the stream to retry authentication as the client.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.BeginAuthenticateAsServer(System.AsyncCallback,System.Object)">
<summary>Called by servers to begin an asynchronous operation to authenticate the client, and optionally the server, in a client-server connection. This method does not block.</summary>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server.</exception>
+This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server.</exception>
<exception cref="T:System.NotSupportedException">Windows 95 and Windows 98 are not supported.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.BeginAuthenticateAsServer(System.Net.NetworkCredential,System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy,System.Net.Security.ProtectionLevel,System.Security.Principal.TokenImpersonationLevel,System.AsyncCallback,System.Object)">
<paramref name="requiredImpersonationLevel" /> must be <see cref="F:System.Security.Principal.TokenImpersonationLevel.Identification" />, <see cref="F:System.Security.Principal.TokenImpersonationLevel.Impersonation" />, or <see cref="F:System.Security.Principal.TokenImpersonationLevel.Delegation" />,</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed. You can use this object to retry the authentication.</exception>
<exception cref="T:System.Security.Authentication.InvalidCredentialException">The authentication failed. You can use this object to retry the authentication.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
-or-
- This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server.</exception>
+This stream was used previously to attempt authentication as the client. You cannot use the stream to retry authentication as the server.</exception>
<exception cref="T:System.NotSupportedException">Windows 95 and Windows 98 are not supported.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.PlatformNotSupportedException">The <paramref name="policy" /> parameter was set to <see cref="F:System.Security.Authentication.ExtendedProtection.PolicyEnforcement.Always" /> on a platform that does not support extended protection.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="buffer" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
- <paramref name="offset" /> is less than 0.
+ <paramref name="offset" /> is less than 0.
-or-
- <paramref name="offset" /> is greater than the length of <paramref name="buffer" />.
+<paramref name="offset" /> is greater than the length of <paramref name="buffer" />.
-or-
- <paramref name="offset" /> plus <paramref name="count" /> is greater than the length of <paramref name="buffer" />.</exception>
- <exception cref="T:System.IO.IOException">The read operation failed.
+<paramref name="offset" /> plus <paramref name="count" /> is greater than the length of <paramref name="buffer" />.</exception>
+ <exception cref="T:System.IO.IOException">The read operation failed.
-or-
- Encryption is in use, but the data could not be decrypted.</exception>
+Encryption is in use, but the data could not be decrypted.</exception>
<exception cref="T:System.NotSupportedException">There is already a read operation in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="buffer" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
- <paramref name="offset is less than 0" />.
+ <paramref name="offset is less than 0" />.
-or-
- <paramref name="offset" /> is greater than the length of <paramref name="buffer" />.
+<paramref name="offset" /> is greater than the length of <paramref name="buffer" />.
-or-
- <paramref name="offset" /> plus count is greater than the length of <paramref name="buffer" />.</exception>
- <exception cref="T:System.IO.IOException">The write operation failed.
+<paramref name="offset" /> plus count is greater than the length of <paramref name="buffer" />.</exception>
+ <exception cref="T:System.IO.IOException">The write operation failed.
-or-
- Encryption is in use, but the data could not be encrypted.</exception>
+Encryption is in use, but the data could not be encrypted.</exception>
<exception cref="T:System.NotSupportedException">There is already a write operation in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
<member name="P:System.Net.Security.NegotiateStream.Position">
<summary>Gets or sets the current position in the underlying stream.</summary>
<returns>A <see cref="T:System.Int64" /> that specifies the current position in the underlying stream.</returns>
- <exception cref="T:System.NotSupportedException">Setting this property is not supported.
+ <exception cref="T:System.NotSupportedException">Setting this property is not supported.
-or-
- Getting the value of this property is not supported when the underlying stream is a <see cref="T:System.Net.Sockets.NetworkStream" />.</exception>
+Getting the value of this property is not supported when the underlying stream is a <see cref="T:System.Net.Sockets.NetworkStream" />.</exception>
</member>
<member name="M:System.Net.Security.NegotiateStream.Read(System.Byte[],System.Int32,System.Int32)">
<summary>Reads data from this stream and stores it in the specified array.</summary>
<exception cref="T:System.ArgumentNullException">
<paramref name="buffer" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
- <paramref name="offset is less than 0" />.
+ <paramref name="offset is less than 0" />.
-or-
- <paramref name="offset" /> is greater than the length of <paramref name="buffer" />.
+<paramref name="offset" /> is greater than the length of <paramref name="buffer" />.
-or-
- <paramref name="offset" /> plus count is greater than the length of <paramref name="buffer" />.</exception>
- <exception cref="T:System.IO.IOException">The write operation failed.
+<paramref name="offset" /> plus count is greater than the length of <paramref name="buffer" />.</exception>
+ <exception cref="T:System.IO.IOException">The write operation failed.
-or-
- Encryption is in use, but the data could not be encrypted.</exception>
+Encryption is in use, but the data could not be encrypted.</exception>
<exception cref="T:System.NotSupportedException">There is already a write operation in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
<summary>Initializes a new instance of the <see cref="T:System.Net.Security.SslStream" /> class using the specified <see cref="T:System.IO.Stream" />.</summary>
<param name="innerStream">A <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.SslStream" /> for sending and receiving data.</param>
<exception cref="T:System.ArgumentException">
- <paramref name="innerStream" /> is not readable.
--or-
+ <paramref name="innerStream" /> is not readable.
+-or-
<paramref name="innerStream" /> is not writable.</exception>
<exception cref="T:System.ArgumentNullException">
- <paramref name="innerStream" /> is <see langword="null" />.
--or-
+ <paramref name="innerStream" /> is <see langword="null" />.
+-or-
<paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
</member>
<member name="M:System.Net.Security.SslStream.#ctor(System.IO.Stream,System.Boolean)">
<param name="innerStream">A <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.SslStream" /> for sending and receiving data.</param>
<param name="leaveInnerStreamOpen">A Boolean value that indicates the closure behavior of the <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.SslStream" /> for sending and receiving data. This parameter indicates if the inner stream is left open.</param>
<exception cref="T:System.ArgumentException">
- <paramref name="innerStream" /> is not readable.
--or-
+ <paramref name="innerStream" /> is not readable.
+-or-
<paramref name="innerStream" /> is not writable.</exception>
<exception cref="T:System.ArgumentNullException">
- <paramref name="innerStream" /> is <see langword="null" />.
--or-
+ <paramref name="innerStream" /> is <see langword="null" />.
+-or-
<paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
</member>
<member name="M:System.Net.Security.SslStream.#ctor(System.IO.Stream,System.Boolean,System.Net.Security.RemoteCertificateValidationCallback)">
<param name="leaveInnerStreamOpen">A Boolean value that indicates the closure behavior of the <see cref="T:System.IO.Stream" /> object used by the <see cref="T:System.Net.Security.SslStream" /> for sending and receiving data. This parameter indicates if the inner stream is left open.</param>
<param name="userCertificateValidationCallback">A <see cref="T:System.Net.Security.RemoteCertificateValidationCallback" /> delegate responsible for validating the certificate supplied by the remote party.</param>
<exception cref="T:System.ArgumentException">
- <paramref name="innerStream" /> is not readable.
--or-
+ <paramref name="innerStream" /> is not readable.
+-or-
<paramref name="innerStream" /> is not writable.</exception>
<exception cref="T:System.ArgumentNullException">
- <paramref name="innerStream" /> is <see langword="null" />.
--or-
+ <paramref name="innerStream" /> is <see langword="null" />.
+-or-
<paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
</member>
<member name="M:System.Net.Security.SslStream.#ctor(System.IO.Stream,System.Boolean,System.Net.Security.RemoteCertificateValidationCallback,System.Net.Security.LocalCertificateSelectionCallback)">
<param name="userCertificateValidationCallback">A <see cref="T:System.Net.Security.RemoteCertificateValidationCallback" /> delegate responsible for validating the certificate supplied by the remote party.</param>
<param name="userCertificateSelectionCallback">A <see cref="T:System.Net.Security.LocalCertificateSelectionCallback" /> delegate responsible for selecting the certificate used for authentication.</param>
<exception cref="T:System.ArgumentException">
- <paramref name="innerStream" /> is not readable.
--or-
+ <paramref name="innerStream" /> is not readable.
+-or-
<paramref name="innerStream" /> is not writable.</exception>
<exception cref="T:System.ArgumentNullException">
- <paramref name="innerStream" /> is <see langword="null" />.
--or-
+ <paramref name="innerStream" /> is <see langword="null" />.
+-or-
<paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
</member>
<member name="M:System.Net.Security.SslStream.#ctor(System.IO.Stream,System.Boolean,System.Net.Security.RemoteCertificateValidationCallback,System.Net.Security.LocalCertificateSelectionCallback,System.Net.Security.EncryptionPolicy)">
<param name="userCertificateSelectionCallback">A <see cref="T:System.Net.Security.LocalCertificateSelectionCallback" /> delegate responsible for selecting the certificate used for authentication.</param>
<param name="encryptionPolicy">The <see cref="T:System.Net.Security.EncryptionPolicy" /> to use.</param>
<exception cref="T:System.ArgumentException">
- <paramref name="innerStream" /> is not readable.
--or-
-<paramref name="innerStream" /> is not writable.
--or-
+ <paramref name="innerStream" /> is not readable.
+-or-
+<paramref name="innerStream" /> is not writable.
+-or-
<paramref name="encryptionPolicy" /> is not valid.</exception>
<exception cref="T:System.ArgumentNullException">
- <paramref name="innerStream" /> is <see langword="null" />.
--or-
+ <paramref name="innerStream" /> is <see langword="null" />.
+-or-
<paramref name="innerStream" /> is equal to <see cref="F:System.IO.Stream.Null" />.</exception>
</member>
<member name="M:System.Net.Security.SslStream.AuthenticateAsClient(System.String)">
<exception cref="T:System.ArgumentNullException">
<paramref name="targetHost" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
- -or-
- Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
- -or-
- Authentication is already in progress.</exception>
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+-or-
+Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
+-or-
+Authentication is already in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
</member>
<member name="M:System.Net.Security.SslStream.AuthenticateAsClient(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Boolean)">
<exception cref="T:System.ArgumentNullException">
<paramref name="targetHost" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
- -or-
- Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
- -or-
- Authentication is already in progress.</exception>
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+-or-
+Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
+-or-
+Authentication is already in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
</member>
<member name="M:System.Net.Security.SslStream.AuthenticateAsClientAsync(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Boolean)">
<exception cref="T:System.ArgumentNullException">
<paramref name="serverCertificate" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
- -or-
- Client authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
- -or-
- Authentication is already in progress.</exception>
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+-or-
+Client authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
+-or-
+Authentication is already in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.PlatformNotSupportedException">The <see cref="Overload:System.Net.Security.SslStream.AuthenticateAsServer" /> method is not supported on Windows 95, Windows 98, or Windows Millennium.</exception>
</member>
<exception cref="T:System.ArgumentNullException">
<paramref name="serverCertificate" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
- -or-
- Client authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
- -or-
- Authentication is already in progress.</exception>
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+-or-
+Client authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
+-or-
+Authentication is already in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.PlatformNotSupportedException">The <see cref="Overload:System.Net.Security.SslStream.AuthenticateAsServer" /> method is not supported on Windows 95, Windows 98, or Windows Millennium.</exception>
</member>
<exception cref="T:System.ArgumentException">
<paramref name="enabledSslProtocols" /> is not a valid <see cref="T:System.Security.Authentication.SslProtocols" /> value.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
- -or-
- Client authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
- -or-
- Authentication is already in progress.</exception>
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+-or-
+Client authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
+-or-
+Authentication is already in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.PlatformNotSupportedException">The <see cref="Overload:System.Net.Security.SslStream.AuthenticateAsServer" /> method is not supported on Windows 95, Windows 98, or Windows Millennium.</exception>
</member>
<exception cref="T:System.ArgumentNullException">
<paramref name="serverCertificate" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
- -or-
- Client authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
- -or-
- Authentication is already in progress.</exception>
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+-or-
+Client authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
+-or-
+Authentication is already in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.PlatformNotSupportedException">The <see cref="Overload:System.Net.Security.SslStream.AuthenticateAsServerAsync" /> method is not supported on Windows 95, Windows 98, or Windows Millennium.</exception>
</member>
<exception cref="T:System.ArgumentNullException">
<paramref name="targetHost" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
- -or-
- Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
- -or-
- Authentication is already in progress.</exception>
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+-or-
+Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
+-or-
+Authentication is already in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
</member>
<member name="M:System.Net.Security.SslStream.BeginAuthenticateAsClient(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Boolean,System.AsyncCallback,System.Object)">
<exception cref="T:System.ArgumentNullException">
<paramref name="targetHost" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
- -or-
- Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
- -or-
- Authentication is already in progress.</exception>
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+-or-
+Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
+-or-
+Authentication is already in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
</member>
<member name="M:System.Net.Security.SslStream.BeginAuthenticateAsClient(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols,System.Boolean,System.AsyncCallback,System.Object)">
<exception cref="T:System.ArgumentException">
<paramref name="enabledSslProtocols" /> is not a valid <see cref="T:System.Security.Authentication.SslProtocols" /> value.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
- -or-
- Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
- -or-
- Authentication is already in progress.</exception>
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+-or-
+Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
+-or-
+Authentication is already in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
</member>
<member name="M:System.Net.Security.SslStream.BeginAuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate,System.AsyncCallback,System.Object)">
<exception cref="T:System.ArgumentNullException">
<paramref name="serverCertificate" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
- -or-
- Client authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
- -or-
- Authentication is already in progress.</exception>
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+-or-
+Client authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
+-or-
+Authentication is already in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.PlatformNotSupportedException">The <see cref="Overload:System.Net.Security.SslStream.BeginAuthenticateAsServer" /> method is not supported on Windows 95, Windows 98, or Windows Millennium.</exception>
</member>
<exception cref="T:System.ArgumentNullException">
<paramref name="serverCertificate" /> is <see langword="null" />.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
- -or-
- Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
- -or-
- Authentication is already in progress.</exception>
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+-or-
+Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
+-or-
+Authentication is already in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.PlatformNotSupportedException">The <see cref="Overload:System.Net.Security.SslStream.BeginAuthenticateAsServer" /> method is not supported on Windows 95, Windows 98, or Windows Millennium.</exception>
</member>
<exception cref="T:System.ArgumentException">
<paramref name="enabledSslProtocols" /> is not a valid <see cref="T:System.Security.Authentication.SslProtocols" /> value.</exception>
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
- <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
- -or-
- Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
- -or-
- Authentication is already in progress.</exception>
+ <exception cref="T:System.InvalidOperationException">Authentication has already occurred.
+-or-
+Server authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
+-or-
+Authentication is already in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.PlatformNotSupportedException">The <see cref="Overload:System.Net.Security.SslStream.BeginAuthenticateAsServer" /> method is not supported on Windows 95, Windows 98, or Windows Millennium.</exception>
</member>
<exception cref="T:System.ArgumentException">
<paramref name="offset" />
<paramref name="<" />
- <paramref name="0" />.
-<paramref name="-or-" /><paramref name="offset" /> > the length of <paramref name="buffer" />.
--or-
+ <paramref name="0" />.
+<paramref name="-or-" /><paramref name="offset" /> > the length of <paramref name="buffer" />.
+-or-
<paramref name="offset" /> + count > the length of <paramref name="buffer" />.</exception>
- <exception cref="T:System.IO.IOException">The read operation failed.
- -or-
- Encryption is in use, but the data could not be decrypted.</exception>
+ <exception cref="T:System.IO.IOException">The read operation failed.
+-or-
+Encryption is in use, but the data could not be decrypted.</exception>
<exception cref="T:System.NotSupportedException">There is already a read operation in progress.</exception>
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
<exception cref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="offset" />
<paramref name="<" />
- <paramref name="0" />.
-<paramref name="-or-" /><paramref name="offset" /> > the length of <paramref name="buffer" />.
--or-
+ <paramref name="0" />.
+<paramref name="-or-" /><paramref name="offset" /> > the length of <paramref name="buffer" />.
+-or-
<paramref name="offset" /> + count > the length of <paramref name="buffer" />.</exception>
<exception cref="T:System.IO.IOException">The write operation failed.</exception>
<exception cref="T:System.NotSupportedException">There is already a write operation in progress.</exception>
<member name="P:System.Net.Security.SslStream.Position">
<summary>Gets or sets the current position in the underlying stream.</summary>
<returns>The current position in the underlying stream.</returns>
- <exception cref="T:System.NotSupportedException">Setting this property is not supported.
- -or-
- Getting the value of this property is not supported when the underlying stream is a <see cref="T:System.Net.Sockets.NetworkStream" />.</exception>
+ <exception cref="T:System.NotSupportedException">Setting this property is not supported.
+-or-
+Getting the value of this property is not supported when the underlying stream is a <see cref="T:System.Net.Sockets.NetworkStream" />.</exception>
</member>
<member name="M:System.Net.Security.SslStream.Read(System.Byte[],System.Int32,System.Int32)">
<summary>Reads data from this stream and stores it in the specified array.</summary>
<exception cref="T:System.ArgumentException">
<paramref name="offset" />
<paramref name="<" />
- <paramref name="0" />.
-<paramref name="-or-" /><paramref name="offset" /> > the length of <paramref name="buffer" />.
--or-
+ <paramref name="0" />.
+<paramref name="-or-" /><paramref name="offset" /> > the length of <paramref name="buffer" />.
+-or-
<paramref name="offset" /> + count > the length of <paramref name="buffer" />.</exception>
<exception cref="T:System.IO.IOException">The read operation failed. Check the inner exception, if present to determine the cause of the failure.</exception>
<exception cref="T:System.NotSupportedException">There is already a read operation in progress.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="buffer" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="offset" /> is less than 0.
--or-
+ <paramref name="offset" /> is less than 0.
+-or-
<paramref name="count" /> is less than 0.
--or-
+-or-
<paramref name="count" /> is greater than the length of <paramref name="buffer" /> minus <paramref name="offset" />.</exception>
<exception cref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
<exception cref="T:System.IO.IOException">The read operation failed. Check the inner exception, if it is present, to determine the cause of the failure.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="offset" />
<paramref name="<" />
- <paramref name="0" />.
-<paramref name="-or-" /><paramref name="offset" /> > the length of <paramref name="buffer" />.
--or-
+ <paramref name="0" />.
+<paramref name="-or-" /><paramref name="offset" /> > the length of <paramref name="buffer" />.
+-or-
<paramref name="offset" /> + count > the length of <paramref name="buffer" />.</exception>
<exception cref="T:System.IO.IOException">The write operation failed.</exception>
<exception cref="T:System.NotSupportedException">There is already a write operation in progress.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="buffer" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="offset" /> is less than 0.
--or-
+ <paramref name="offset" /> is less than 0.
+-or-
<paramref name="count" /> is less than 0.
--or-
+-or-
<paramref name="count" /> is greater than the length of <paramref name="buffer" /> minus <paramref name="offset" />.</exception>
<exception cref="T:System.InvalidOperationException">Authentication has not occurred.</exception>
<exception cref="T:System.IO.IOException">The write operation failed.</exception>
<member name="M:System.Security.Authentication.ExtendedProtection.ServiceNameCollection.Contains(System.String)">
<summary>Returns a value indicating whether the specified string occurs within this <see cref="T:System.Security.Authentication.ExtendedProtection.ServiceNameCollection" /> instance.</summary>
<param name="searchServiceName">The string to seek.</param>
- <returns>Returns <see cref="T:System.Boolean" />.
- <see langword="true" /> if the <paramref name="searchServiceName" /> parameter occurs within this <see cref="T:System.Security.Authentication.ExtendedProtection.ServiceNameCollection" /> instance; otherwise, <see langword="false" />.</returns>
+ <returns>Returns <see cref="T:System.Boolean" />.
+<see langword="true" /> if the <paramref name="searchServiceName" /> parameter occurs within this <see cref="T:System.Security.Authentication.ExtendedProtection.ServiceNameCollection" /> instance; otherwise, <see langword="false" />.</returns>
</member>
<member name="M:System.Security.Authentication.ExtendedProtection.ServiceNameCollection.Merge(System.Collections.IEnumerable)">
<summary>Merges the current <see cref="T:System.Security.Authentication.ExtendedProtection.ServiceNameCollection" /> with the specified values to create a new <see cref="T:System.Security.Authentication.ExtendedProtection.ServiceNameCollection" /> containing the union.</summary>