public static bool GetCPUID(ref CPUID_STRUCT regs) { //---------------------------------------------- // Intel Corporation // Copyright © 2009/2010 - All Rights Reserved // Department : SST/NTE // Written by : Bill Hines - [email protected] // Modified by : N/A // Date : 12/4/2009 //---------------------------------------------- if (!Convert.ToBoolean(cpuid(ref regs))) { return(true); } else { return(false); } }
private static extern UInt32 cpuid(ref CPUID_STRUCT regs);
public static bool GetCPUID(ref CPUID_STRUCT regs) { //---------------------------------------------- // Intel Corporation // Copyright © 2009/2010 - All Rights Reserved // Department : SST/NTE // Written by : Bill Hines - [email protected] // Modified by : N/A // Date : 12/4/2009 //---------------------------------------------- if (!Convert.ToBoolean(cpuid(ref regs))) return true; else return false; }