Share via


IsServer Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  Microsoft.SPOT.Net.Security
Assembly:  System.Net.Security (in System.Net.Security.dll)

Syntax

'Declaration
Public ReadOnly Property IsServer As Boolean
public bool IsServer { get; }
public:
property bool IsServer {
    bool get ();
}
member IsServer : bool with get
function get IsServer () : boolean

Property Value

Type: System. . :: . .Boolean
true if the local endpoint was successfully authenticated as the server side of the authenticated connection; otherwise false.

.NET Framework Security

See Also

Reference

SslStream Class

Microsoft.SPOT.Net.Security Namespace