This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public bool DeepLogin() | |
{ | |
bool login = false;//ログイン成否 | |
HttpWebRequest req = WebRequest.CreateHttp(new Uri(deepLoginUrl, UriKind.Absolute)); | |
req.Method = "POST"; | |
req.ContentType = "application/x-www-form-urlencoded"; | |
req.CookieContainer = App.ViewModel.UserSetting.cc; | |
using (StreamWriter sw = new StreamWriter(req.GetRequestStreamAsync().GetAwaiter().GetResult())) | |
{ |