GetMediaInfoRequest.cs 630 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.IO;
  5. using COSXML.Common;
  6. using COSXML.Model.Object;
  7. using COSXML.CosException;
  8. namespace COSXML.Model.CI
  9. {
  10. /// <summary>
  11. /// 获取媒体信息
  12. /// <see href="https://cloud.tencent.com/document/product/436/55672"/>
  13. /// </summary>
  14. public sealed class GetMediaInfoRequest : ObjectRequest
  15. {
  16. public GetMediaInfoRequest(string bucket, string key)
  17. : base(bucket, key)
  18. {
  19. this.method = CosRequestMethod.GET;
  20. this.queryParameters.Add("ci-process", "videoinfo");
  21. }
  22. }
  23. }