0
데이터를 게시하여 Gmail에 로그인하려고합니다.브라우저의 쿠키 기능이 꺼져 있습니다. 켜십시오.
여기 내 코드입니다 :
HttpWebRequest hi = (HttpWebRequest)HttpWebRequest.Create("https://www.google.com/accounts/ServiceLoginAuth?service=mail");
hi.Method = "POST";
//string PostData = "continue=https%3A%2F%2Fmail.google.com%2Fmail%2F%3Ftab%3Dwm&service=mail&rm=false&dsh=-28214021908461826<mpl=default&scc=1&GALX=6-CDla8snug&pstMsg=1&dnConn=&checkConnection=youtube%3A1271%3A1&checkedDomains=youtube&timeStmp=&secTok=&Email=EMAILADDRESS4u&Passwd=PASSWORD&signIn=Sign+in&rmShown=1";
hi.ContentType = "application/x-www-form-urlencoded";
byte[] post = UnicodeEncoding.UTF8.GetBytes(PostData);
Stream stream = await hi.GetRequestStreamAsync();
stream.Write(post, 0, PostData.Length);
WebResponse response = await hi.GetResponseAsync();
string pageSource;
using (StreamReader sr = new StreamReader(response.GetResponseStream()))
{
pageSource = sr.ReadToEnd();
}
mywebview1.NavigateToString(pageSource);
그러나 내가 이것을 실행하려고하면 오류가 발생합니다. 이 문제를 어떻게 해결할 수 있습니까?
Your browser's cookie functionality is turned off. Please turn it on.
'hi.CookieContainer' –
그리고 이제 우리는 당신의 전화 번호를 얻기 위해 약간의 사회 공학/연구가 필요합니다. 우리 모두 당신의 Google 계정에 접속할 수 있습니까?! –