C# Class Pdelvo.Minecraft.Proxy.Library.UserAccountServices

Provides access to the minecraft session apis to validate user accounts
Mostrar archivo Open project: pdelvo/Pdelvo.Minecraft.Proxy

Public Methods

Method Description
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

Method Details

CheckAccountAsync() public static method

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
return Task

CheckAccountAsync() public static method

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
return Task