示例#1
0
 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
     }
 }
示例#2
0
 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
     }
 }