public virtual async Task LoginWithCredentialsAsync(string userName, string password) { var args = new Dictionary <string, string>() { { "loginMethod", "9gag" }, { "loginName", userName }, { "password", RequestUtils.GetMd5(password) }, { "language", "en_US" }, { "pushToken", AuthenticationInfo.Token } }; await LoginAsync(args, AuthenticationType.Credentials); AuthenticationInfo.UserLogin = userName; AuthenticationInfo.UserPassword = password; }