ListObjects() public method

public ListObjects ( ListObjectsRequest listObjectsRequest ) : Task
listObjectsRequest ListObjectsRequest
return Task
Example #1
0
 static async void listObjects()
 {
     try
     {
         OssClient          temp = new OssClient("bm9crcnr0rtnuw8bnrfvq7w8", "RbtJoExTnA8vYLynUfDh7Ior+oM=");
         ListObjectsRequest arg  = new ListObjectsRequest("devdoc2");
         arg.Delimiter = @"/";
         // arg.Prefix = @".NET Reflector 7.0.0.420 Crack/"
         ObjectListing result = await temp.ListObjects(arg);
     }
     catch (AggregateException ex)
     {
         Console.WriteLine(ex.Message);
     }
 }
Example #2
0
        static async void listObjects()
        {
            try
            {
                OssClient temp = new OssClient("bm9crcnr0rtnuw8bnrfvq7w8", "RbtJoExTnA8vYLynUfDh7Ior+oM=");
                ListObjectsRequest arg = new ListObjectsRequest("devdoc2");
               arg.Delimiter=@"/";
               // arg.Prefix = @".NET Reflector 7.0.0.420 Crack/"
                ObjectListing result = await temp.ListObjects(arg );

            }
            catch (AggregateException ex)
            {
                Console.WriteLine(ex.Message);

            }
        }