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.
Mostra file Open project: SijmenSchoon/Sharpcraft Class Usage Examples

Public Properties

Property Type Description
RealName string
Result string
SessionID string
Success bool

Private Methods

Method 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
return string

Result public_oe property

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

SessionID public_oe property

The session ID associated with this login.
public string SessionID
return string

Success public_oe property

Whether or not the login succeeded.
public bool Success
return bool