Esempio n. 1
0
 private void UpdateDeviceRoot(PortableDevice device)
 {
     Root = new SynchronizedRootDirectory();
     device.RefreshContent(new RecursivePathEnumerateHelper(_options.RootDevicePath + "/.*"));
     ExploreDeviceDirectory(device.Content, Root, _options.RootDevicePath.Count(x => x == '/') + 1);
 }