Exemplo n.º 1
0
 private void GetToken()
 {
     _token = Regex.Match(
         HttpWorker.Get("https://new-pk.first-card.ru/", _cookieContainer),
         "ue = \"(.*)\"", RegexOptions.IgnorePatternWhitespace
         ).Groups[1].Value;
 }
Exemplo n.º 2
0
 private void getPrivateSession() =>
 //string url = "http://new-pk.first-card.ru/pc";
 //HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
 //request.CookieContainer = cookieContainer;
 //HttpWebResponse responce = (HttpWebResponse)request.GetResponse();
 //responce.Close();
 HttpWorker.Get("http://new-pk.first-card.ru/pc", cookieContainer);
Exemplo n.º 3
0
 private void GetPrivateSession() => HttpWorker.Get("https://new-pk.first-card.ru/pc", _cookieContainer);