/// 下载时进行二维码识别 public void DownloadWithQrcodeRecognition() { string bucket = "examplebucket-1250000000"; //存储桶,格式:BucketName-APPID string key = "exampleobject"; //对象键 //.cssg-snippet-body-start:[download-with-qrcode-recognition] //二维码覆盖功能,将对识别出的二维码覆盖上马赛克。取值为0或1。0表示不开启二维码覆盖,1表示开启二维码覆盖,默认值0 QRCodeRecognitionRequest request = new QRCodeRecognitionRequest(bucket, key, 0); QRCodeRecognitionResult result = cosXml.QRCodeRecognition(request); //.cssg-snippet-body-end }