Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ServerSession Class

Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9147)

Represents a protocol session.

Syntax
public class ServerSession
Inheritance
Object
ServerSession
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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.

In This Article
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies