Example #1
0
        public void GetCPUIdTest()
        {
            var id = CPUInfoHelper.GetCPUId();

            Console.WriteLine(id);
            Assert.IsNotEmpty(id);
        }
Example #2
0
        public void SystemUUIDTest()
        {
            var id = CPUInfoHelper.GetSystemUUID();

            Console.WriteLine(id);
            Assert.IsNotEmpty(id);
        }
Example #3
0
 private void BtnHwId_Click(object sender, EventArgs e)
 {
     tbHwId.Text = CPUInfoHelper.GetCPUId() + "  =  " + HardwareIdHelper.GetHardwareIdBase64();
 }