Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code Injection in C#

Status
Not open for further replies.

jalojavier

Programmer
Aug 22, 2006
14
ES
Hello,

Someone can recommend me some document or source code with a example of code injection in C#?

I'm making a practice and i need some information about this subject. I want to know if is possible use this technique using only C#, not ASM or similar.

Thanks.
 
I didn't do much Windows Forms programming in C#, I mainly do Web programming, but as you have access to system API functions U can do that without ASM directives using Memory functions.

This is however far from trivial. U will generaly need asm parser (witch can be skipped for ejecting the code for some particular function)

This is excellent article about this topic. Example is in C, but you shouldn't have much problems converting it to C#.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top