|
|
От: | denisio_mcp | |
| Дата: | 28.05.06 08:17 | ||
| Оценка: | |||
WebClient wc = new WebClient();
NameValueCollection parms = new NameValueCollection();
parms.Add("MMObjectType", "0");
parms.Add("MMObjectID", "");
parms.Add("To", number);
parms.Add("Msg", message);
parms.Add("Lang", "2");
wc.Headers.Add("Content-type", "application/x-www-form-urlencoded");
wc.UploadValues(Url, "POST", parms);System.Net Information: 0 : [2208] SecureChannel#10261382 — Remote certificate has errors:
System.Net Information: 0 : [2208] SecureChannel#10261382 — Unknown error.
System.Net Information: 0 : [2208] SecureChannel#10261382 — Remote certificate was verified as invalid by the user.
System.Net Error: 0 : [2208] Exception in the HttpWebRequest#45523402:: — The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
System.Net Error: 0 : [2208] Exception in the HttpWebRequest#45523402::EndGetRequestStream — The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.