Метод | Описание | |
---|---|---|
DownloadDataAsync ( |
||
DownloadStringAsync ( |
||
UploadDataAsync ( Uri address, X509Certificate2 clientCert, string contentType, byte data, int millisecondsTimeout, OpenWriteEventHandler openWriteCallback, DownloadProgressEventHandler downloadProgressCallback, RequestCompletedEventHandler completedCallback ) : HttpWebRequest |
Метод | Описание | |
---|---|---|
CapsBase ( ) : System | ||
GetResponse ( IAsyncResult ar ) : void | ||
OpenWrite ( IAsyncResult ar ) : void | ||
SetupRequest ( Uri address, X509Certificate2 clientCert ) : HttpWebRequest | ||
TimeoutCallback ( object state, bool timedOut ) : void |
public static DownloadDataAsync ( |
||
request | ||
millisecondsTimeout | int | |
downloadProgressCallback | DownloadProgressEventHandler | |
completedCallback | RequestCompletedEventHandler | |
Результат | void |
public static DownloadStringAsync ( |
||
address | ||
clientCert | ||
millisecondsTimeout | int | |
downloadProgressCallback | DownloadProgressEventHandler | |
completedCallback | RequestCompletedEventHandler | |
Результат |
public static UploadDataAsync ( Uri address, X509Certificate2 clientCert, string contentType, byte data, int millisecondsTimeout, OpenWriteEventHandler openWriteCallback, DownloadProgressEventHandler downloadProgressCallback, RequestCompletedEventHandler completedCallback ) : HttpWebRequest | ||
address | Uri | |
clientCert | X509Certificate2 | |
contentType | string | |
data | byte | |
millisecondsTimeout | int | |
openWriteCallback | OpenWriteEventHandler | |
downloadProgressCallback | DownloadProgressEventHandler | |
completedCallback | RequestCompletedEventHandler | |
Результат | HttpWebRequest |