Ejemplo n.º 1
0
 /// 图片审核
 public void SensitiveContentRecognition()
 {
     string bucket = "examplebucket-1250000000"; //存储桶,格式:BucketName-APPID
     string key    = "exampleobject";            //对象键
     //.cssg-snippet-body-start:[sensitive-content-recognition]
     SensitiveContentRecognitionRequest request =
         new SensitiveContentRecognitionRequest(bucket, key, "politics");
     SensitiveContentRecognitionResult result = cosXml.SensitiveContentRecognition(request);
     //.cssg-snippet-body-end
 }