How to inject code into assembly ?
-
Sunday, September 16, 2012 11:06 AM
Hi
i want to inject some code into .net assemblies such as { windows forms application }
i think mono.cecil is a useful reference tool ,but i can't work whit it :(
my code i would to inject to a win forms application is :
public class Program { static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new myloginForm()); } }
Thanks
Ali.Dakhilzadeh
- Edited by alimanam Sunday, September 16, 2012 11:08 AM
All Replies
-
Sunday, September 16, 2012 11:30 AM
-
Tuesday, September 18, 2012 6:08 AM
Hi ,
You ask the same question here :http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/2419b878-bf72-4b66-933e-130aab85a33c
I do not think the answer to this question will be different with different language. Maybe you can delete this one .
By the way , as Mike said in "VB language " , this more like malicious.
- Marked As Answer by Lisa ZhuMicrosoft Contingent Staff, Moderator Tuesday, September 25, 2012 8:11 AM

