还是USB,该如何处理

还是USB是这样的:1.程序启动前先插入USB,程序能自动检查到设备的插入.2.程序启动后再插入USB,程序报错.Sys

还是USB
是这样的:
1.   程序启动前先插入USB,程序能自动检查到设备的插入.
2.   程序启动后再插入USB,程序报错.System.ExecutionEngineException

主要代码:
ManagementClass   diskClass   =   new   ManagementClass( "Win32_LogicalDisk ");
disks   =   diskClass.GetInstances();//在这儿报错??

[解决办法]
好贴!

----
等待高人