NetworkSession Class
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
A base class from which all Rebex session-based network protocol objects derive.
Syntax
public abstract class NetworkSession : ILogWriterProvider
Inheritance
NetworkSession
Implements
Inherited Members
Constructors
Name | Description |
---|---|
NetworkSession() | Creates a new instance of NetworkSession object. |
Properties
Name | Description |
---|---|
DefaultLogWriter | Gets or sets a default log writer used by all new instances of NetworkSession object. |
InstanceId | Gets instance ID (intended for logging purposes). |
IsAuthenticated | Gets a value indicating whether the session is authenticated. |
IsConnected | Gets a value indicating whether the session is connected. |
LogWriter | Gets or sets the LogWriter used by this object. |
ServerName | Gets the server name, if available. |
ServerPort | Gets the server port, if available. |
UserName | Gets the authenticated user name, if available. |
Methods
Name | Description |
---|---|
GetHashCode() | Gets hash code for this object. |