I need a very small C# library that would tell me on what operating system my C# program is running.
I don't need the OS version number, just something very general, for instance I would be happy with one of:
Windows, Mac, Linux, Android, iOS
- Open Source, ideally Public Domain
- Downloadable easily as DLL
None of the solutions at https://stackoverflow.com/questions/10138040/how-to-detect-properly-windows-linux-mac-operating-systems are robust+easy enough.