I'm writing a program that requires fetching the current Windows user that is logged in. I did find a package called swin that seems to be able to do this but it costs a lot of money to buy which isn't really an option for something as simple as this so I'm wondering if there is an alternative.
I imagine it involves looking into the registry and getting some data.
I imagine it involves looking into the registry and getting some data.