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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With