hello !
i am working on a simple application that can block the sites ,after searching i found that if i add name of the site in c:\windows\system32\drivers\etc\hosts then i can block those sites , for this i want to open this hosts file in my textbox with administrator rights , so that it can save changes. how i can do this ? do i have to run my application with administrator rights or i can just open hosts file in my textbox with administrator rights ?
regards