How to detect which .NET Framework X service pack is installed

Hi,

Today I needed to find which versions+SP were installed, so this maybe helpful for anyone else:

Lookup in the registry:

Cheers!