The Session type exposes the following members.

Constructors

  NameDescription
Public methodSession
Initializes a new instance of the Session class with default settings.

Methods

  NameDescription
Public methodChangeStation
Changes the station for the session.
Public methodChangeStationAsync
Asynchronously changes the station for the session.
Public methodCheckSession
Verify that there is a connected session.
Public methodConnect
Connects the session using the specified settings.
Public methodConnectAsync
Asynchronously connects the session using the specified settings.
Public methodDisconnect()()()()
Disconnects the Session.
Public methodDisconnect(Boolean)
Disconnects the Session.
Public methodDisconnectAsync(AsyncCompletedEventHandler, Object)
Asynchronously disconnects the Session.
Public methodDisconnectAsync(Boolean, AsyncCompletedEventHandler, Object)
Asynchronously disconnects the Session.
Public methodDispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases the resources used by the Session.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodForceUserLogout
Force logout a user from all the applications.
Public methodForceUserLogoutAsync
Asynchronously logs out user from all the applications.
Public methodStatic memberGetAllowableAuthentications(AllowableAuthenticationsParameters)
Gets the allowable authentication types.
Public methodStatic memberGetAllowableAuthentications(HostSettings)
Gets the allowable authentication types.
Public methodStatic memberGetAllowableAuthentications(HostSettings, String)
Gets the allowable authentication types.
Public methodGetAuthenticationToken
Gets the authentication token for the Session.
Public methodGetAuthenticationTokenAsync
Asynchronously gets the authentication token for the Session.
Public methodGetAuthSettings
Gets a copy of the AuthSettings.
Public methodStatic memberGetCachedAllowableAuthentications(String)
Gets the cached allowable authentication types.
Public methodStatic memberGetCachedAllowableAuthentications(CachedAllowableAuthenticationsParameters)
Gets the cached allowable authentication types.
Public methodStatic memberGetCachedAllowableAuthentications(String, String)
Gets the cached allowable authentication types.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHostSettings
Gets a copy of the HostSettings.
Public methodGetSessionSettings
Gets a copy of the SessionSettings.
Public methodGetStationInfo
Gets a copy of the StationInfo.
Public methodGetStationSettings
Gets a copy of the StationSettings.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetAutoReconnectInterval(Int32)
Sets the amount of time (in seconds) to wait between reconnection attempts when the connection has been lost.
Public methodSetAutoReconnectInterval(Int32, Int32)
Sets the amount of time (in seconds) to wait between reconnection attempts when the connection has been lost, allowing a difference between the amount of time before an initial reconnect and all subsequent reconnect attempts.
Public methodSetReadyForInteractions
Signals the application's readiness to make or receive Interactions.
Public methodSetReadyForInteractionsAsync
Asynchronously signals the application's readiness to make or receive Interactions.
Public methodSetStationConnectionMode
Sets the station connection mode for the session, which controls when the user is logged out of the station.
Public methodSetStationConnectionModeAsync
Asynchronously sets the station connection mode for the session, which controls when the user is logged out of the station.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAdditionalUtcOffset
Gets or sets an additional clock skew for the session.
Public propertyAttemptToSetThreadCulture
Gets or sets a value indicating whether to attempt to set IceLib's background threads' CurrentUICulture.
Public propertyAutoReconnectEnabled
Enables or disables automatic reconnection attempts when the connection is lost.
Public propertyAutoReconnecting
Identifies whether an AutoReconnect is in the process of occurring.
Public propertyClockSkew
Gets the clock skew.
Public propertyConnectionState
Gets the current ConnectionState of the Session.
Public propertyConnectionStateMessage
Gets the most recent text description of the state of the Session.
Public propertyConnectionStateReason
Gets the current ConnectionStateReason of the Session.
Public propertyCultureInfo
Gets the culture info, as specified by SessionSettings.IsoLanguage.
Public propertyCustomerName
Gets the name of the customer to whom IC is licensed.
Public propertyDisplayName
Gets the display name for the logged in user.
Public propertyEffectiveStation
Gets the effective station that the user is logged in to.

Remarks

This value is initially set to Empty, and will be updated after the session user logs into a station.
Public propertyEndpoint
Returns a new HostEndpoint containing the details of the currently connected HostEndpoint.
Public propertyICServer
Gets the name of the IC server to which the session is connected.
Public propertyInteractionCenterReleaseVersion
Gets the release version information of the Interaction Center to which the session is connected (if available).
Public propertyIsEncrypted Obsolete.
Returns whether the current connection is encrypted.
Public propertyRawSessionId
The internal Session ID as a UInt32.
Public propertySensitiveDataContext
Gets the sensitive data context for this session.
Public propertySessionId
The internal Session ID.
Public propertySessionManagerName
Gets the relative distinguished name (RDN) of the SessionManager to which the session is connected.
Public propertySessionManagerNameFQDN
Gets the fully qualified domain name (FQDN) of the SessionManager to which the session is connected.
Public propertySessionManagerReleaseVersion
Gets the release version information of the Session Manager to which the session is connected (if available).
Public propertySessionManagerVersion
Gets the version number of the SessionManager to which the session is connected (if available).
Public propertySupportedMedia
Gets the supported media flags (SupportedMedia).
Public propertyUserAgreement
Gets the user agreement text.
Public propertyUserId
Gets the ID of the logged in IC user.
Public propertyUserLogOnId
Gets the log on ID of the logged in IC user.

Events

  NameDescription
Public eventConnectionStateChanged
Occurs when the Session's ConnectionState changes.
Public eventEffectiveStationChanged
Occurs when the Session user's EffectiveStation changes.
Public eventStationSettingsChanged
Occurs when the Session's StationSettings changes.

See Also