hi friends..
i want to block the internet sites based on its ip address.. for example if i give 192.168.12.1 is google site means that site will be blocked....
how to do that in .net ...
its urgent..
regards
gopal
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mahesh ChandPosted Dec 17, 2008, 10:51 PM
You can get an IP address using the following code:
Request.UserHostAddress();
Once you get an IP, you can do whatever you want.