Gets the default stored credentials.

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

Syntax

C#
public static StoredCredentials GetCredentials()
Visual Basic
Public Shared Function GetCredentials As StoredCredentials

Return Value

A StoredCredentials object representing all the credential information that was saved, or nullNothingnullptra null reference (Nothing in Visual Basic) if no credentials were found.

Examples

The IceLib SDK includes example application references to the GetCredentials method (or a variation). Some examples are listed below.
ProjectLocation
TutorialExampleLoginViewModel.cs, line 27, in LoginViewModel.#ctor

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also