I'm creating a new script to determine if computers are staying with same monitors.
I've founded a script which gets information about monitors serial number and name from registry with edid.
it only works when i restart my pc after changing monitors. (because registry doesn't get refreshed when computer is open.)
I need to get active monitor's serial number. without restarting comp.
i was thinking to get all devices name from device manager. but i don't know how to d