Forums - C# Corner

Forum guidelines
Animesh Datta

Animesh Datta

  • 730
  • 32
  • 12.2k

How to make Url Blocker in C# .Net 4.0 Desktop Application

Dec 17 2012 12:49 AM
Hi Everyone...

I want to make a software like Url Blocker , means by that software one can block any website in Mozilla  or Chrome or Internet Explorer or in any web browser.

I found host file in this location "C:\Windows\System32\drivers\etc\hosts"

but this host file can be modified only in windows XP , it can't be modified
in Windows 7 , then what to do ?

and one more things is that this host file is only for Internet Explorer only
not for other browsers .

so please give me some solution ...

Thanking You

C# Corner Hyderabad Developer Conference


Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.