2
Answers

Unique ID for hardware devices

Ask a question
jaz Elavumkal

jaz Elavumkal

13y
1.9k
1
Hi,
I am doing a project to identify if any of the hardware (Mouse, Keyboard etc) is removed or replaced with another one. I tried Device ID and PNP Device ID using "ManagementObjectSearcher"
but it is not changing even if i replace a hardware, ie if i replace my mouse with another mouse the device ID and PNPDeviceID i am having is
the same as former.
What is this PNPDeviceID and DeviceID ?
Is there any unique ID with which i can identify a particular hardware ? and how to get it?

Thanks in advance

Answers (2)