如何从.net创建读取或反射外部exe和调用函数 [英] How to make read or reflection external exe and call functions from .net
本文介绍了如何从.net创建读取或反射外部exe和调用函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对C#或VB.NET有疑问如何从.net中创建的外部exe调用和读取函数(调用,读取所有类,函数,公共或朋友等)需要示例如何才能实现。
谢谢
我的尝试:
我不知道如何制作这个方法。
解决方案
为什么不在.NET中阅读有关反射的教程?网上有这么多,而且CodeProject上有几个:
.NET反思 [ ^ ]
反映示例 [ ^ ]
Reflection 101:.NET反思简介 [ ^ ]
使用Reflection加载未引用的组件ies在运行时在C# [ ^ ]
如果这些都无法帮助您,那么谷歌还有更多内容:
.net反思教程 - Google搜索 [ ^ ]
I have question for C# or VB.NET how to call and read function from external exe created in .net ( call, read all class, functions, public or friend, etc ) need example how to is possible make.
Thanks
What I have tried:
I don't know how to make this method.
解决方案
Why not read a tutorial on reflection in .NET ? There are so many on the web, and there are several here on CodeProject alone:
Reflection in .NET[^]
Reflection with Example[^]
Reflection 101: An Introduction to Reflection in .NET[^]
Using Reflection to load unreferenced assemblies at runtime in C#[^]
And if those all fail to help you, there's more to find with Google:
.net reflection tutorial - Google Search[^]
这篇关于如何从.net创建读取或反射外部exe和调用函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文