Detecting Server Core in Code

Administrators can move between Server Core and Server with a GUI by installing or uninstalling various features, so it’s important that applications designed for Server Core are able to react and behave appropriately whether running in Server Core or Server with a GUI. One way of doing this is by dynamically loading dependent libraries (for…