Ejemplo n.º 1
0
 public async Task <LogResponse> LoginAsync() =>
 LogResponse.ParseFromNet(await PostAsync(LogUri, new Dictionary <string, string>
 {
     ["action"]   = "login",
     ["ac_id"]    = "1",
     ["username"] = Username,
     ["password"] = "******" + CryptographyHelper.GetMD5(Password)
 }));
Ejemplo n.º 2
0
 public async Task <LogResponse> LogoutAsync() => LogResponse.ParseFromNet(await PostAsync(LogUri, LogoutData));