AuthenticatedStream.IsServer Property
.NET Framework (current version)
Gets a Boolean value that indicates whether the local side of the connection was authenticated as the server.
Assembly: System (in System.dll)
Property Value
Type: System.Booleantrue if the local endpoint was authenticated as the server side of a client-server authenticated connection; false if the local endpoint was authenticated as the client.
Most security protocols used for client-server authentication define specific behavior and requirements for supplying credentials for authentication based on whether you are the client or the server.
.NET Framework
Available since 2.0
Available since 2.0
Show: