安装
git clone https://github.com/baofengcloud/csharp-sdk
build
使用
using Baofeng.Cloud;
配置AK/SK
Profile profile = new Profile();
profile.accessKey = "";
profile.secretKey = "";
上传
Upload.UploadFile(profile, ServiceType.Paas, FileType.Public, "C:\\test.mp4", "test.mp4", "", "")
查询
Query.QueryFile(profile, ServiceType.Paas, "test.mp4", "")
删除
Delete.DeleteFile(profile, ServiceType.Paas, "test.mp4", "", "")
此 C# SDK 适用于 .NET 2.0 及以上版本,基于 暴风云视频API 构建。