C# Класс Pdelvo.Minecraft.Proxy.Library.UserAccountServices

Provides access to the minecraft session apis to validate user accounts
Показать файл Открыть проект

Открытые методы

Метод Описание
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