C# Class Sharpcraft.Networking.LoginResult

Login result returned by Authenticator.Login method, can be used to determine if login was successful and display the error message if it was not.
Afficher le fichier Open project: SijmenSchoon/Sharpcraft Class Usage Examples

Méthodes publiques

Свойство Type Description
RealName string
Result string
SessionID string
Success bool

Private Methods

Méthode Description
LoginResult ( bool success, string result, string realName = null, string sessionId = null ) : System.IO

Initializes a new instance of the LoginResult struct.

Property Details

RealName public_oe property

The user's real username.
public string RealName
Résultat string

Result public_oe property

The result of the login, this will contain an error message if it was unsuccessful.
public string Result
Résultat string

SessionID public_oe property

The session ID associated with this login.
public string SessionID
Résultat string

Success public_oe property

Whether or not the login succeeded.
public bool Success
Résultat bool