public override System.IAsyncResult BeginGetRequestStream(System.AsyncCallback callback, object state) { throw null; } public override System.IAsyncResult BeginGetResponse(System.AsyncCallback callback, object state) { throw null; }
public void PostRegisterInfoAsync(RegisterInfo registerInfo) { _requestState = new RequestState(); _registerInfo = registerInfo; _httpWebRequest = (HttpWebRequest)WebRequest.Create(_registerURL); _timer.Start(); _requestState.request = _httpWebRequest; _httpWebRequest.Method = "POST"; _httpWebRequest.ContentType = "application/x-www-form-urlencoded"; _httpWebRequest.BeginGetRequestStream(new AsyncCallback(RequestCallback), _httpWebRequest); }