我怎样才能做到这一点?
DriveType
var driveInfo = new DriveInfo("S:\"); if(driveInfo.DriveType == DriveType.Network) // do something