Skip to content

Instantly share code, notes, and snippets.

@atifaziz
Created April 21, 2011 15:45
Show Gist options
  • Save atifaziz/934805 to your computer and use it in GitHub Desktop.
Save atifaziz/934805 to your computer and use it in GitHub Desktop.
Program to display target CLR version of an assembly
class Program {
static void Main(string[] args) {
System.Console.WriteLine(System.Reflection.Assembly.ReflectionOnlyLoadFrom(args[0]).ImageRuntimeVersion);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment