private void QueryNewDeviceForMountingPoint(Device device) { try { if (device.State != DeviceState.Offline && device.State != DeviceState.Unknown) { device.RefreshMountPoints( ); } } catch (IOException) { // if we can't get the build info, it doesn't matter too much } }
private void QueryNewDeviceForMountingPoint( Device device ) { try { if ( device.State != DeviceState.Offline && device.State != DeviceState.Unknown ) { device.RefreshMountPoints ( ); } } catch ( IOException ) { // if we can't get the build info, it doesn't matter too much } }