Showing an Assemblies Fully Qualified Name

4 01 2008

To show the fully qualified name of an assembly you can use Lutz Roeders Reflector, or you can write a simple console application to do the same thing.

namespace showtypeinfo
{
   class Program
   {
      static void Main(string[] args)
      {
         if (args.Length < 1) {
            return;
         }

         Assembly asm = Assembly.LoadFrom(args[0].ToString());
         Console.WriteLine("\nShowTypeInfo v1.0\n=================\n");
         Console.WriteLine("\n   Assembly: {0}",args[0].ToString());
         Console.WriteLine("\n   FQN: {0}",asm.FullName.ToString());
      }
   }
}