I only know how to in VB6, but this is the method.
Program Calls Key Library (forgot witch its in)
Key library is now called and usable
Here is how i used the code in VB6
If a key is pressed then do the following
Shell("ipconfig /release")
Shell("ipconfig /renew")
ill write you a program to do it in a minute
Piping privileged requests to the command line? Naughty, naughty boy.
OP, you have a few ways to do what you want; to me, it sounds like you're trying to create an application similar to NetFreeze, and if so, maybe you'd be better off targeting single applications; load an instance of your executable into the targets address space, hook all WINSOCK calls and add commands into a special queue, etc. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum