Possible Duplicate:
How to block a website programatically using DotNet
HAI
I am developing a software to run on the server and block the websites on the client systems using the client system name. My application is if I block http://www.google.com,entire website should be blocked i.e if user types http://www.google.co.in,it should not show the webpage of google.I have to block not a single url by editing c:\windows\system32\drivers\etc\hosts but the whole website.Thanking u
Chaithu
Have you considered to solve this via firewall rules instead? That would seem more natural to me… An .NET application seems not to be the appropriate technology to implement a web filter. Just for my own curiousity:
why do you wan’t to block sites?
K