Hi,I'm trying to do a parental control software project in C#. I made blocking and unblocking specific websites by using hosts file but the other part of my project is blocking the internet access. When I click a button, the internet access will be blocked and when another button is clicked the internet will be reachable. Block/enable internet access in C#, how can it be done? Thank you for your help.
plbo
0
Newbie Poster
Recommended Answers
Jump to PostOne way is to disable/enable the network adapter(s). Here's a few posts to look at that should give you some idea: Click Here, Click Here Click Here
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.