usingSystem;usingMicrosoft.Win32;usingSystem.GlPython
using System;
using Microsoft.Win32;
using System.Globalization;
using System.Runtime;
using System.Runtime.InteropServices;
using System.Text;
using System.IO;
namespace HKH.Common
{
///
/// Summary description for clsIDE.
///
public class clsIDE
{
///
/// 获取硬盘相应分区的序列号
///
///
public static string GetAllSerialNumber()
{
string Dri = "";
System.Management.ManagementClass mo = new System.Management.ManagementClass("Win32_LogicalDisk");
System.Management.ManagementObjectCollection mc = mo.GetInstances();
foreach (System.Management.ManagementObject m in mc)
{
if (Convert.ToString(m.Properties["DriveType&