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)

Collapse imageSyntax

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

Return Value

An GetAuthenticationTokenResult object that contains the authentication token and seed.

Collapse imageRemarks

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

Collapse imageExceptions

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.

Collapse imageVersion Information

Supported for IC Server version 2016 R2 and beyond.

Collapse imageSee Also