How can i get the location of the GAC using C#?

.net, c#, gac

Solution

If you want to enumerate the stuff in the GAC (e.g. writing an system administration tool) your best option is to use the fusion.dll although this requires some interop code on your side.

Link to Microsoft for Fusion.DLL Documentation

Problem

How can i get the location of the GAC directory using C#? Exist an entry in the Windows Registry? UPDATE I need the location because, i want to enumerate and analyze the assemblies located in the GAC. Bye.

Original source

Related problems