How to programmatically check GAC for an assembly?
It's better to use ReflectionOnlyLoad Method. this method loads an assembly into the reflection-only context, where it can be examined but not executed.
ReflectionOnlyLoad