点击或拖拽改变大小

FileClientBaseDownloadFileBase 方法

下载服务器的文件数据,并且存储到对应的内容里去。
Download the file data of the server and store it in the corresponding content.

命名空间:  HslCommunication.Enthernet
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
protected OperateResult DownloadFileBase(
	string factory,
	string group,
	string id,
	string fileName,
	Action<long, long> processReport,
	Object source
)

参数

factory
类型:SystemString
一级分类
group
类型:SystemString
二级分类
id
类型:SystemString
三级分类
fileName
类型:SystemString
服务器的文件名称
processReport
类型:SystemActionInt64, Int64
下载的进度报告,第一个数据是已完成总接字节数,第二个数据是总字节数。
source
类型:SystemObject
数据源信息,决定最终存储到哪里去

返回值

类型:OperateResult
是否成功的结果对象
参见