public void SendMicroAnswer(MicroAnswer microAnswer) { string url = Client.SMS_ANSWER_URL + "?" + microAnswer.BuildQueryString(); string response; using (WebClient wc = new WebClient()) { response = wc.DownloadString(url); } if (response != "OK") { throw new InvalidOperationException(response); } }
public void SendMicroAnswer(MicroAnswer microAnswer) { string url = Client.SMS_ANSWER_URL + "?" + microAnswer.BuildQueryString(); string response; using (WebClient wc = new WebClient()) { response = wc.DownloadString(url); } if (response != "OK") { throw new InvalidOperationException(response); } }
public MicroAnswer NewMicroAnswer() { MicroAnswer microAnswer = new MicroAnswer(this._signPassword); return microAnswer; }
public MicroAnswer NewMicroAnswer() { MicroAnswer microAnswer = new MicroAnswer(this._signPassword); return(microAnswer); }