Thoughts from a solution architect, technologist and Christian citizen.
Querying for existing Window Stations
This post is about querying for existing Window Stations in Windows. I am currently working on a project which needs to perform specific tasks depending on the Window Station, specifically when executed from a Windows Service. The code snippet is pretty straightforward as shown below