private static string MacId() { return(ComputerInfo.identifier("Win32_NetworkAdapterConfiguration", "MACAddress", "IPEnabled")); }
public static string GetComputerId() { return(ComputerInfo.GetHash("CPU >> " + ComputerInfo.CpuId() + "\nBIOS >> " + ComputerInfo.BiosId() + "\nBASE >> " + ComputerInfo.BaseId())); }
private static string VideoId() { return(ComputerInfo.identifier("Win32_VideoController", "DriverVersion") + ComputerInfo.identifier("Win32_VideoController", "Name")); }
private static string GetHash(string s) { return(ComputerInfo.GetHexString(new MD5CryptoServiceProvider().ComputeHash(new ASCIIEncoding().GetBytes(s)))); }
private static string BaseId() { return(ComputerInfo.identifier("Win32_BaseBoard", "Model") + ComputerInfo.identifier("Win32_BaseBoard", "Manufacturer") + ComputerInfo.identifier("Win32_BaseBoard", "Name") + ComputerInfo.identifier("Win32_BaseBoard", "SerialNumber")); }
private static string DiskId() { return(ComputerInfo.identifier("Win32_DiskDrive", "Model") + ComputerInfo.identifier("Win32_DiskDrive", "Manufacturer") + ComputerInfo.identifier("Win32_DiskDrive", "Signature") + ComputerInfo.identifier("Win32_DiskDrive", "TotalHeads")); }
private static string BiosId() { return(ComputerInfo.identifier("Win32_BIOS", "Manufacturer") + ComputerInfo.identifier("Win32_BIOS", "SMBIOSBIOSVersion") + ComputerInfo.identifier("Win32_BIOS", "IdentificationCode") + ComputerInfo.identifier("Win32_BIOS", "SerialNumber") + ComputerInfo.identifier("Win32_BIOS", "ReleaseDate") + ComputerInfo.identifier("Win32_BIOS", "Version")); }