How to identify that a given exe is manage code
C#
3
Posts
3
Posters
0
Views
1
Watching
-
How to identify that a given exe is manage code also if the given exe is manage then how to find its version. Regards, Shiby
bool managed = true;
try
{
Console.WriteLine(Assembly.Load("some.exe").Version);
}
catch
{
managed = false;
}xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots
-
bool managed = true;
try
{
Console.WriteLine(Assembly.Load("some.exe").Version);
}
catch
{
managed = false;
}xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots
I think that would be Assembly.Load("some.exe").GetName().Version.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: He has a funny face. And he's my son. Judah Himango