Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Validate Strong Name of Running Assembly

Is it possible for one to check the strong name of a .NET application that is already currently running separately from your own running applications process?


EDIT: For clarification, a solution that does not require a hard coded path to the executing assembly would be the most ideal solution.


EDIT #2: Is there any way to do this without using reflection?

like image 783
Kyle Rosendo Avatar asked Feb 27 '23 12:02

Kyle Rosendo


1 Answers

Without reflection:

If you know the process, you know the filename. If you know the filename, you can process the PE headers to find the strong name signature.

like image 144
Andras Vass Avatar answered Mar 11 '23 20:03

Andras Vass