如何检查DLL是否使用P/Invoke(dllimport)?
给定DLL,如何确保使用命令行工具(或不)使用P/Indoke?
Given a DLL, how can I make sure it does (or does not) use P/Invoke, with a command line tool?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果结果为 empty ,则dll (或exe)未使用pinvoke,否则 是 它是 。
nb
iLDASM
应安装 Visual Studio ,使用Visual Studio 开发人员命令提示时最容易致电。If the result is empty, pinvoke is not being used by the dll (or exe), otherwise it is.
N.B.
ildasm
should come installed with Visual Studio, and is easiest to call when using the Visual Studio Developer Command Prompt.