device management - C# Devcon functionality without Devcon? -


i have app using devcon following;

  • get device status
  • enable
  • disable
  • all of above based on compatible id's.

how can same without using devcon @ all? still need same functionality listed above.

i have looked this question , answer need tailor more towards criteria above. needs work on x86, x64 , xp+.

can this?

to c#, you'd have pinvoke windows setup apis

this link has example in c of how setup apis can used enumerate devices.

and interestingly enough, there powershell module available on technet device management.

if license allows it, take peek @ implementation, in .net.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -