Click or drag to resize
IApiHttpDownloaderBeginDownloadString Method
Begins an asynchronus download of text string from url.

Namespace: PatchKit.Api
Assembly: PatchKit.Api (in PatchKit.Api.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
ICancellableAsyncResult BeginDownloadString(
	string url,
	int timeout,
	CancellableAsyncCallback asyncCallback = null
)

Parameters

url
Type: SystemString
Url of resource.
timeout
Type: SystemInt32
Time after which request is aborted ( should be thrown after getting result).
asyncCallback (Optional)
Type: PatchKit.AsyncCancellableAsyncCallback
The CancellableAsyncCallback delegate.

Return Value

Type: ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronus operation.
See Also