How can I enumerate all available assemblies in GAC in C#?
Actually I am facing an issue with a stupid code - the assembly called Telerik.Web.UI.dll is referred and
You don't really need to write something in C# to find out if this specific dll is in the gac. You can use gacutil.exe with the /l option from the command line to list the contents of the GAC.
Check this codeproject GAC API Interface article. This uses undocumented fusion.dll to enumurate the GAC. But author claims that
This code is known to work with .NET 1.1 and 2.0. Please note that the DLL fusion.dll is different in 1.1 and 2.0. So if you have both frameworks installed, make sure to point the code to the right DLL. Otherwise most API-calls will fail. The default implementation uses the one found in the WINDOWS directory.