This is the first time I know this class exists. It has all the interesting properties about CLR, like runtime version, runtime directory, machine.config file path.

Check it out. It is in System.Runtime.InteropServices namespace, weird place. No wonder it is hard to find.