Click or drag to resize

FileClientDownload Method

Download file.

Namespace:  StockSharp.Community
Assembly:  StockSharp.Community (in StockSharp.Community.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public bool Download(
	FileData data,
	Action<int> progress = null,
	Func<bool> cancel = null
)

Parameters

data
Type: StockSharp.CommunityFileData
The file data.
progress (Optional)
Type: SystemActionInt32
Progress callback.
cancel (Optional)
Type: SystemFuncBoolean
Cancel callback.

Return Value

Type: Boolean
If the operation was cancelled by cancel, will return.
See Also