I am currently planning a project involving the creation of a shell replacement for Windows (based on Blackbox, bblean specifically). However, I want to use .NET features for this. Many of the API calls I need are hosted in the User32 library. I can of course use P / Invoke and create a static class to handle this for me.
However, many of these functions are already available in the .NET platform, especially in the System.Management namespace for processing processes and active windows, etc. Some of them seem to be missing, for example, the SetForegroundWindow functions.
Do you know anything built into the .NET environment that already provides this functionality, or will I need to use the P / Invoke route?
source share