C# 클래스 Pdelvo.Minecraft.Proxy.Library.UserAccountServices

Provides access to the minecraft session apis to validate user accounts
파일 보기 프로젝트 열기: pdelvo/Pdelvo.Minecraft.Proxy

공개 메소드들

메소드 설명
CheckAccountAsync ( string username, string hash, HttpClientHandler clientHandler ) : Task

Checks if a user account is valid using the user name and the connection Hash

CheckAccountAsync ( string username, string hash, bool useDefaultProxySettings = true ) : Task

Checks if a user account is valid using the user name and the connection Hash

메소드 상세

CheckAccountAsync() 공개 정적인 메소드

Checks if a user account is valid using the user name and the connection Hash
public static CheckAccountAsync ( string username, string hash, HttpClientHandler clientHandler ) : Task
username string The name of the user
hash string The calculated connection hash. See http://wiki.vg/Authentication#Server_operation for more information
clientHandler System.Net.Http.HttpClientHandler Specify advanced options on how the request should be sent
리턴 Task

CheckAccountAsync() 공개 정적인 메소드

Checks if a user account is valid using the user name and the connection Hash
public static CheckAccountAsync ( string username, string hash, bool useDefaultProxySettings = true ) : Task
username string The name of the user
hash string The calculated connection hash. See http://wiki.vg/Authentication#Server_operation for more information
useDefaultProxySettings bool If this value is true the proxy will search for default proxy details
리턴 Task