Exemplo n.º 1
0
        public static WindowsDeviceV1 Create()
        {
            WindowsDeviceV1 winMachine = new WindowsDeviceV1(
                GetHostName(),
                new Guid(GetSMBIOSUUID()),
                new Guid(GetMachineGUID()),
                GetStringsHashCode(GetMacAddresses()),
                GetProductID(),
                GetStringsHashCode(GetCPUProcessorIDs())
                );

            return(winMachine);
        }
Exemplo n.º 2
0
 public WindowsDeviceV1(byte[] bytes)
 {
     WindowsDeviceV1 uniqueDevice = ToUniqueDevice <WindowsDeviceV1>(bytes);
 }