Hi,
How to retreive function name in the assembly?
Thanks,
Popskie
Printable View
Hi,
How to retreive function name in the assembly?
Thanks,
Popskie
You need the types in the assembly first, then you can get the methods of each type:Code:System.Reflection.Assembly asm = System.Reflection.Assembly.GetExecutingAssembly();
foreach (Type typ in asm.GetTypes())
{
foreach (System.Reflection.MethodInfo mthd in typ.GetMethods())
{
MessageBox.Show(typ.Name + "." + mthd.Name);
}
}
Thanks jm