The ServerSession type exposes the following members.
Methods
Name | Description | |
---|---|---|
Close |
Close the session.
| |
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.) | |
SendMessage |
Sends a message to this session.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Cipher |
Gets the active cipher.
| |
ClientAddress |
Gets the client's IP address.
| |
ClientEndPoint |
Gets the client-side endpoint of the client's connection.
| |
Context |
Gets custom context object assigned in Authentication event handler's Accept(ServerUser, Object) method.
| |
Duration |
Gets the current duration of the session.
| |
Id |
Gets session ID.
| |
State |
Gets the current state of the session.
| |
User |
Gets the current session user.
| |
UserName |
Gets the current session user name.
|