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?
 
Back
Top