Advertisement
Guest User

Untitled

a guest
Jun 13th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. ServicePointManager.Expect100Continue = false;
  2.  
  3. HttpWebRequest Request = (HttpWebRequest)WebRequest.Create("https://type-omega.com/auth?username=" + HttpUtility.UrlEncode(Username) + "&password=" + HttpUtility.UrlEncode(Password));
  4. 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";
  5. Request.Proxy.Credentials = CredentialCache.DefaultCredentials;
  6. Request.Referer = "https://type-omega.com/";
  7. Request.Proxy = null;
  8. Request.Method = "GET";
  9. Request.ContentType = "application/x-www-form-urlencoded";
  10.  
  11. var Response = new StreamReader(Request.GetResponse().GetResponseStream()).ReadToEnd();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement