public void ResponseReady(IAsyncResult ResponseResult) { HttpWebRequest request = ResponseResult.AsyncState as HttpWebRequest; HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(ResponseResult); StreamReader sr2 = new StreamReader(response.GetResponseStream(), Encoding.UTF8); string responseInfo = sr2.ReadToEnd(); Operate thisOperate = new Operate(this.Operate, responseInfo,param); thisOperate.OperateResponse(); }
private void VeriCodeImage_Tapped(object sender, TappedRoutedEventArgs e) { Operate Refresh = new Operate(); Refresh.LoginErr("-100"); }