点击或拖拽改变大小

IntegrationFileClientUploadFileAsync 方法 (String, ActionInt64, Int64)

上传本地的文件到服务器操作,服务器存储的文件名就是当前文件默认的名称,其余参数默认为空

命名空间:  HslCommunication.Enthernet
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public Task<OperateResult> UploadFileAsync(
	string fileName,
	Action<long, long> processReport
)

参数

fileName
类型:SystemString
本地的完整路径的文件名称
processReport
类型:SystemActionInt64, Int64
上传的进度报告

返回值

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