|
-
Oct 27th, 2005, 01:02 PM
#1
Thread Starter
Banned
Block internet connection
Is it difficult in C# to block and unblock the internet connection on a pc?
If that's not too difficult, is it also possible to raise an event when an application wants to access the internet?
(Yes I want to built a basic firewall )
Cheers
PB
-
Nov 1st, 2005, 08:16 AM
#2
Thread Starter
Banned
Re: Block internet connection
-
Nov 7th, 2005, 09:07 PM
#3
Re: Block internet connection
From my understanding of how firewalls work (and I admit, I know very little) I don't think you could easily do it using C# or VB.NET. I think you would have to build your own device driver that sits on top of the network device driver on the machine.
You can read up on device drivers here, but it is some very advanced programming:
http://www.microsoft.com/whdc/devtools/ddk/default.mspx
-
Nov 7th, 2005, 09:10 PM
#4
Re: Block internet connection
Here is an article on developing your own firewall:
http://www.codeproject.com/internet/drvfltip.asp
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
|