c#sdk的pfop使用代码说明

public static void pfop()
{
Qiniu.RS.Pfop fop = new Qiniu.RS.Pfop();
EntryPath entry = new EntryPath(“liuhanlin-work”, “liuhanlin-movi”);

        string savekey = "liuhanlin-work:bugpfop";
      //  savekey = "saveas/" + entry.Base64EncodedURI;
        savekey = "saveas/" + Qiniu.Util.Base64URLSafe.Encode(savekey);
        string fo = "imageView2/1/w/20/h/20" + "|" + savekey;
        string[] fops = new string[] { fo };
        Uri uri = new Uri("http://www.baidu.com");
        string s = fop.Do(entry, fops, uri,"xiaoliu",1);
        Console.WriteLine(s);
        Console.ReadKey();
    }

“`

你可能感兴趣的:(c#sdk的pfop使用代码说明)