MqttSyncClientUploadFileAsync 方法 |
名称 | 说明 | |
---|---|---|
UploadFileAsync(String, String, String, ActionInt64, Int64, HslCancelToken) |
[文件引擎] 上传文件给服务器,需要指定上传文件的路径信息(服务器保存的名称就是文件名),以及上传到服务器的分类信息,支持进度汇报功能。 [File Engine] To upload a file to the server, you need to specify the path information of the uploaded file (the name saved by the server is the file name), as well as the classification information uploaded to the server, to support the progress report function. | |
UploadFileAsync(Bitmap, String, String, String, ActionInt64, Int64, HslCancelToken) |
[文件引擎] 上传一个Bitmap图片对象到服务器指定的分类下面,需要指定分类信息,服务器保存的文件名,描述信息,支持进度报告 [File Engine] Upload a Bitmap image object to the category specified by the server, you need to specify the category information, the file name saved by the server, description information, and support for progress reports | |
UploadFileAsync(Stream, String, String, String, ActionInt64, Int64, HslCancelToken) |
[文件引擎] 上传流给服务器,需要指定流,服务器保存的名字,以及上传到服务器的分类信息,支持进度汇报功能。 [File Engine] To upload a stream to the server, you need to specify the stream, the name saved by the server, and the classification information uploaded to the server to support the progress reporting function. | |
UploadFileAsync(String, String, String, String, ActionInt64, Int64, HslCancelToken) |
[文件引擎] 上传文件给服务器,需要指定上传文件的路径信息,服务器保存的名字,以及上传到服务器的分类信息,支持进度汇报功能。 [File Engine] To upload a file to the server, you need to specify the path information of the uploaded file, the name saved by the server, and the classification information uploaded to the server to support the progress report function. |