C# 클래스 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.
파일 보기 프로젝트 열기: SijmenSchoon/Sharpcraft 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
RealName string
Result string
SessionID string
Success bool

비공개 메소드들

메소드 설명
LoginResult ( bool success, string result, string realName = null, string sessionId = null ) : System.IO

Initializes a new instance of the LoginResult struct.

프로퍼티 상세

RealName 공개적으로 프로퍼티

The user's real username.
public string RealName
리턴 string

Result 공개적으로 프로퍼티

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

SessionID 공개적으로 프로퍼티

The session ID associated with this login.
public string SessionID
리턴 string

Success 공개적으로 프로퍼티

Whether or not the login succeeded.
public bool Success
리턴 bool