Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.user = TextboxUser.text
- this.pass = TextboxPass.text
- StreamReader reader = new StreamReader(client.OpenRead("http://website.com/login.php?user="+ this.user + "&pass=" + this.pass));
- string status = reader.ReadToEnd();
- if (status == "ok")
- {
- // đăng nhập thành công
- }
- else
- {
- // sai tài khoản hoặc mật khẩu
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement