The NetworkSession type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| NetworkSession |
Creates a new instance of NetworkSession object.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a String that represents the current Object. (Inherited from 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.
|