I found these registry settings
Assuming the user installed the Mono 64 bit MSI, can I in C# code read the registry and rely on
- 1 + 2 indicating that Mono 64 bit is installed
- 3 where the Mono lib folder is
- 4 where Mono config folder is and
- 5 where the
mono-2.0-sgen.dll
is located.
I am asking because
- I did not find this documented on the Mono website (e.g. Mono FAQ: Technical, Install Mono on Windows, Mono Runtime Documentation, Mono Runtime Documentation)
- Perhaps there is a better / alternative approach. (e.g. the GAC ... I'm not keen on the GAC but perhaps ...)
(I assume that anything under Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node would be 32 bit and would not indicate 64bit mono.)
Update I've asked on Mono-Github and here's their answer: https://github.com/mono/mono/issues/10535