how can get installation directory by using C#

How can I get the SolidWorks installation directory from registry trough programming.

I am using C#. I need to locate "SLWORKS.exe" file. Thanks for advance.

SolidworksApi macros