Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

15 lines
302 B
C#

using System;
using System.Reflection;
public class GetAssemblyName
{
public static void Main(string [] args)
{
if (args.Length == 0)
throw new Exception("You must supply an assembly name");
Assembly assembly = Assembly.LoadFile(args[0]);
Console.WriteLine("{0}", assembly.FullName);
}
}