Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ServicePointManager.Expect100Continue = false;
- HttpWebRequest Request = (HttpWebRequest)WebRequest.Create("https://type-omega.com/auth?username=" + HttpUtility.UrlEncode(Username) + "&password=" + HttpUtility.UrlEncode(Password));
- Request.UserAgent = @"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36";
- Request.Proxy.Credentials = CredentialCache.DefaultCredentials;
- Request.Referer = "https://type-omega.com/";
- Request.Proxy = null;
- Request.Method = "GET";
- Request.ContentType = "application/x-www-form-urlencoded";
- var Response = new StreamReader(Request.GetResponse().GetResponseStream()).ReadToEnd();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement