System.Management namespace

  • Thread starter Thread starter Mr B
  • Start date Start date
M

Mr B

Is the SystemParametersInfo function incorporated into the .Net class
libraries? Say, perhaps in System.Management?

Also, I've been looking for a .Net method to find the currently active
window. Anybody care to shed some clues?

Mr B
 
Is the SystemParametersInfo function incorporated into the .Net class
libraries? Say, perhaps in System.Management?

No. Search Google and you can find the PInvoke code for some of those
functions (getting/setting wallpaper, sound functions, etc...)
Also, I've been looking for a .Net method to find the currently active
window. Anybody care to shed some clues?

Nothing I know of in .NET. Perhaps PInvoke the GetForegroundWindow API?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top