Reputation: 399
Is there a way to figure out which architecture an application is implementing?
I'm trying to figure out whether either Win32, WPF or Windows Form is being used by a 3rd party application.
Thanks for the help
Upvotes: 0
Views: 77
Reputation: 2130
You could look at the EXEs and DLLs of the application, e.g. using ILSpy.
WPF and WinForms is as far as I know limited to the .NET framework. So if it is not a .Net EXE, and ILSpy does not parse it, it is probably Win32.
If it is a .Net EXE, look at the references. If only WPF specific dlls are referenced, it is probably WPF. If only WinForms specific dlls, probably WinForms. If both, you need to trace the program starting from the main method to find evidence, which API is used.
But either way, it is no strong evidence. Both APIs could be mixed, and there could be Windows or Elements of each used. Since WinForms is a wrapper of the native Win32 API, whenever you use WinForms you actually also use the Win32 API.
So it probably depends on what you specifically need to know.
Upvotes: 1