Created
June 25, 2020 10:17
-
-
Save OberdanBrito/c4535dfb16a44e365c969891940178b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static ManagementObjectSearcher VniPnp() | |
{ | |
ManagementScope connectionScope = new ManagementScope(); | |
SelectQuery serialQuery = new SelectQuery("SELECT * FROM Win32_PnPEntity"); | |
return new ManagementObjectSearcher(connectionScope, serialQuery); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment