MqttSyncClientGetGroupFileInfoAsync 方法 |
[文件引擎] 获取服务器文件夹的指定目录的文件统计信息,包括文件数量,总大小,最后更新时间
[File Engine] Get the file statistics of the specified directory of the server folder, including the number of files, the total size, and the last update time
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<GroupFileInfo>> GetGroupFileInfoAsync(
string groups
)
Public Function GetGroupFileInfoAsync (
groups As String
) As Task(Of OperateResult(Of GroupFileInfo))
public:
Task<OperateResult<GroupFileInfo^>^>^ GetGroupFileInfoAsync(
String^ groups
)
member GetGroupFileInfoAsync :
groups : string -> Task<OperateResult<GroupFileInfo>>
参数
- groups
- 类型:SystemString
文件的类别,例如 Files/Personal/Admin 按照斜杠来区分
返回值
类型:
TaskOperateResultGroupFileInfo服务器文件大小的结果对象,单位:字节数
参见