ServerSession Class
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9083)
Represents a protocol session.
Syntax
public class ServerSession
Inherited Members
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 Connecting, PreAuthentication or Authentication events. |
Current | Gets the current session within which the current code is executed, or null if not within session. |
Duration | Gets the current duration of the session. |
Id | Gets session ID. |
ServerAddress | Gets the server-side IP address of the client's connection. |
ServerEndPoint | Gets the server-side endpoint of the client's connection. |
State | Gets the current state of the session. |
User | Gets the current session user. |
UserName | Gets the current session user name. |
Methods
Name | Description |
---|---|
Close() | Close the session. |
SendMessage(String) | Sends a message to this session. |