private void GetToken() { _token = Regex.Match( HttpWorker.Get("https://new-pk.first-card.ru/", _cookieContainer), "ue = \"(.*)\"", RegexOptions.IgnorePatternWhitespace ).Groups[1].Value; }
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);
private void GetPrivateSession() => HttpWorker.Get("https://new-pk.first-card.ru/pc", _cookieContainer);