|
-
March 24th, 2009, 02:05 PM
#1
.dll in c#?
Hi all,
I want to hook WSASend from a certain application. I want to do this with c#.
All information i got, points me to injecting a .dll into the process and hook the WSASend function.
I was wondering if it was possible to write an injectable .dll with c#?
And how can i call the functions from this .dll within my c# app?
Someth like this ?
[DllImport("MyDll")] public static extern MyWSASend( WSASend param ) ;
public static MyWSASend( .. ) {
decode data from packet;
show decoded data to window;
do the actual WSASend;
}
Any help is GREATLY appreciated;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|