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); } }
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); } }