private async void btnLogin_Click(object sender, RoutedEventArgs e) { var accountReader = ResourceLoader.GetForCurrentView("TestAccount"); string cookiesReturn = await jh.login(accountReader.GetString("ID"), accountReader.GetString("PWD")); Debug.WriteLine(cookiesReturn); }
private async void btnLogin_Click(object sender, RoutedEventArgs e) { console = await jh.login("ylns1314", "belldandy4869"); }