Example #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
 }