C# Class QCloud.PicApi.Api.PicCloud

Mostra file Open project: tencentyun/image-donet-sdk Class Usage Examples

Public Methods

Method Description
Copy ( string bucketName, string fileId ) : string

图片复制

Delete ( string bucketName, string fileId ) : string

图片删除

Detection ( string bucketName, string url ) : string

图片鉴黄

DetectionFile ( string bucketName, string pornFile ) : string

图片鉴黄-Files

DetectionUrl ( string bucketName, string pornUrl ) : string

图片鉴黄-Urls

PicCloud ( int appId, string secretId, string secretKey, int timeOut = 60 ) : System
Query ( string bucketName, string fileId ) : string

图片查询

Upload ( string bucketName, string localPath, string fileId = null ) : string

图片上传

Method Details

Copy() public method

图片复制
public Copy ( string bucketName, string fileId ) : string
bucketName string bucket名称
fileId string 资源存储的唯一标识
return string

Delete() public method

图片删除
public Delete ( string bucketName, string fileId ) : string
bucketName string bucket名称
fileId string 资源存储的唯一标识
return string

Detection() public method

图片鉴黄
public Detection ( string bucketName, string url ) : string
bucketName string bucket名称
url string 需要鉴黄图片地址
return string

DetectionFile() public method

图片鉴黄-Files
public DetectionFile ( string bucketName, string pornFile ) : string
bucketName string bucket名称
pornFile string
return string

DetectionUrl() public method

图片鉴黄-Urls
public DetectionUrl ( string bucketName, string pornUrl ) : string
bucketName string bucket名称
pornUrl string
return string

PicCloud() public method

public PicCloud ( int appId, string secretId, string secretKey, int timeOut = 60 ) : System
appId int
secretId string
secretKey string
timeOut int
return System

Query() public method

图片查询
public Query ( string bucketName, string fileId ) : string
bucketName string bucket名称
fileId string 资源存储的唯一标识
return string

Upload() public method

图片上传
public Upload ( string bucketName, string localPath, string fileId = null ) : string
bucketName string bucket名称
localPath string 本地图片路径
fileId string 资源存储的唯一标识
return string