Session Class
Represents a session that contains information about an active user.
Inheritance Hierarchy
System.Object
TcHmiSrv.Session
Namespace: TcHmiSrv
Assembly: TcHmiSrvExtNet (in
TcHmiSrvExtNet.dll) Version: 3.0.0.0
Syntax
C#
public class Session : IEquatable<Session>,
IDisposable
The Session type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the Session class. | |
|
Initializes a new instance of the Session class based on another Session. |
Properties
|
Name |
Description |
---|---|---|
|
Gets or sets the endpoint information. | |
|
Gets or sets the ID of the Session. | |
|
Gets or sets the locale of the user in BCP 47 representation. | |
|
Gets or sets the socket ID of the Session. | |
|
Gets or sets the user name. |
Methods
|
Name |
Description |
---|---|---|
|
Releases all resources used by the Session | |
|
Releases the unmanaged resources used by the Session and optionally releases the managed resources | |
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Indicates whether the current Session is equal to another Session. | |
|
(Overrides Object.Finalize..) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Returns a string that represents the current object. (Inherited from Object.) |
Operators
|
Name |
Description |
---|---|---|
|
Determines whether two instances of the Session class are equal. | |
|
Determines whether two instances of the Session class are not equal. |