What is the easiest way to tell if .NET compiled code is using p/invoke?
+2
A:
Try using Reflector if the code isn't obfuscated to view what's going on in the .dll.
Achilles
2009-06-16 19:05:35
Unless you're trying to do it programmatically.
Paulo Santos
2009-06-16 19:06:42
+6
A:
Use reflection and look for any methods with the [DllImport] attribute.
Otávio Décio
2009-06-16 19:06:09
+3
A:
I am quite sure the Mono migration analyzer (MoMA) can do this.
Daniel Brückner
2009-06-16 19:10:22