Exemple #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)
 }));
 public async Task <LogResponse> LoginAsync() => LogResponse.ParseFromUsereg(await PostAsync(LogUri, new Dictionary <string, string>
 {
     ["action"]          = "login",
     ["user_login_name"] = Username,
     ["user_password"]   = CryptographyHelper.GetMD5(Password)
 }));