System.Net.Security.SslStream.IsServer Property

Gets a bool value that indicates whether the local side of the connection used by this System.Net.Security.SslStream was authenticated as the server.

Syntax

public override bool IsServer { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If authentication failed or did not occur, this property returns false.

To authenticate as the server, call the erload:System.Net.Security.SslStream.AuthenticateAsServer or erload:System.Net.Security.SslStream.BeginAuthenticateAsServer methods.

Requirements

Namespace: System.Net.Security
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0