/// <summary> /// Logs in the user /// </summary> /// <param name="session">Session used for sending the request</param> /// <param name="md5Password"> Hashed (MD5) password of the session user </param> /// <remarks> /// In order for this function to work, either the real username or the e-mail address has to be set in the <c>User</c> property /// </remarks> public void Login(AuthenticatedSession <TUser> session, string md5Password) { session.Post("http://www.elitepvpers.com/forum/login.php?do=login&langid=1", new List <KeyValuePair <string, string> >() { new KeyValuePair <string, string>("vb_login_username", User.Name), new KeyValuePair <string, string>("cookieuser", "1"), new KeyValuePair <string, string>("s", String.Empty), new KeyValuePair <string, string>("securitytoken", "guest"), new KeyValuePair <string, string>("do", "login"), new KeyValuePair <string, string>("vb_login_md5password", md5Password), new KeyValuePair <string, string>("vb_login_md5password_utf", md5Password) }); session.Update(); }