DeviceId.Windows.Wmi An implementation of that retrieves data from a WMI class. The class name. The property name. Initializes a new instance of the class. The class name. The property name. Gets the component value. The component value. An implementation of that uses the MAC Address of the PC. This improves upon the basic by using WMI to get better information from either MSFT_NetAdapter or Win32_NetworkAdapter. A value determining whether wireless devices should be excluded. A value determining whether non-physical devices should be excluded. Initializes a new instance of the class. A value determining whether wireless devices should be excluded. A value determining whether non-physical devices should be excluded. Gets the component value. The component value. Gets the component value using MSFT_NetAdapter. A value determining whether wireless devices should be excluded. A value determining whether non-physical devices should be excluded. The component value. Gets the component value using Win32_NetworkAdapter. A value determining whether wireless devices should be excluded. A value determining whether non-physical devices should be excluded. The component value. An implementation of that uses the system drive's serial number. Initializes a new instance of the class. Gets the component value. The component value. Extension methods for . Adds the MAC address to the device identifier, optionally excluding wireless adapters and/or non-physical adapters. The to add the component to. A value indicating whether wireless adapters should be excluded. A value indicating whether non-physical adapters should be excluded. The instance. Adds the processor ID to the device identifier. The to add the component to. The instance. Adds the motherboard serial number to the device identifier. The to add the component to. The instance. Adds the system UUID to the device identifier. The to add the component to. The instance. Adds the system serial drive number to the device identifier. The to add the component to. The instance. Adds the system serial drive number to the device identifier. The to add the component to. The instance.