UtilDevicesComputerHardwareIdFromMicrosoftHwIdType Property

Gets a unique computer hardware identifier (CHID) that matches the current computer.

This identifier is generated following Microsoft's PC Device Metadata packages schemas:

https://docs.microsoft.com/en-us/windows-hardware/drivers/install/specifying-hardware-ids-for-a-computer

In fact, this function generates the exact same identifiers as the 'computerhardwareids.exe' program included in the Windows SDK: https://docs.microsoft.com/es-es/windows-hardware/drivers/devtest/computerhardwareids

https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/

Use HardwareID-3 or HardwareID-4 as the first choice if the software matches a computer that has a specific make, family, and model. This allows a software to match the specified computer, which provides the most precise metadata for the computer.

Use HardwareID-5, as the second choice if the software covers the entire family of computers. In this case, the computer family is unique and is not branded with more than one product line.

Use HardwareID-6 or HardwareID-7 as the third choice if the software covers all of your computers or those computers with a specific enclosure type.

Definition

Namespace: DevCase.Core.IO.Devices
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Guid this[
	ComputerHardwareIdMicrosoftType idType
] { get; }

Parameters

idType  ComputerHardwareIdMicrosoftType
 

Property Value

Guid
The resulting unique computer hardware identifier (CHID) that matches the current computer.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also