Ejemplo n.º 1
0
        public string ListFilesOrDirectories(string sharefolder)
        {
            string             coureseContentEndPoint = _settings.FileEndPoint;
            FileStorageService service = new FileStorageService(coureseContentEndPoint, _couserSASToken);
            var    list       = service.ListFilesOrDirectories(sharefolder);
            string resultJson = service.ConvertToJson(list);

            return(resultJson);
        }
Ejemplo n.º 2
0
 public void ConvertToJsonTest()
 {
     FileStorageService service = new FileStorageService(_endPoint, _sasToken);
     var list       = service.ListFilesOrDirectories(_shareFolder);
     var resultJson = service.ConvertToJson(list);
 }