Gets the authentication token for the Session.

Note: This method is supported for IC Server version 2016 R2 and beyond.

Namespace: ININ.IceLib.Connection
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public GetAuthenticationTokenResult GetAuthenticationToken()
Visual Basic
Public Function GetAuthenticationToken As GetAuthenticationTokenResult

Return Value

An GetAuthenticationTokenResult object that contains the authentication token and seed.

Remarks

The authentication token can be used to create a new separate session without requiring user credentials, for example using web services.

Exceptions

ExceptionCondition
ININ.IceLib.Connection..::..RequestTimeoutExceptionThe request timed out while waiting for a response.
ININ.IceLib.Connection..::..SessionDisconnectedExceptionThe Session does not have a valid connection.
System..::..ObjectDisposedExceptionThe Session has been disposed.

Version Information

Supported for IC Server version 2016 R2 and beyond.

See Also