Exemplo n.º 1
0
 public bool InGAC(AssemblyName assemblyName)
 {
     if (!assemblyName.IsStronglyNamed() || _loadedAssemblies.Contains(assemblyName))
         return false;
     try
     {
         return Assembly.ReflectionOnlyLoad(assemblyName.FullName) != null;
     }
     catch
     {
         return false;
     }
 }