Click here to Skip to main content
12,825,359 members (40,466 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# VB ASP.NET VB.NET
Dear experts,

Please I would like to know how to arbitrarily specify how long any PC on my LAN can access the Internet and once that time has elapsed, access should be denied. I have thought of using Windows Firewall API, but I don't know how to go about it.

Please, I would love to know how to achieve this time-based Internet access restriction using C# or VB.Net code through whatever technique you deem necessary.

Thanks in advance.
Posted 9-Dec-12 13:39pm
Updated 10-Dec-12 9:20am
Poor, poor users... :-(
aspnet_regiis -i 9-Dec-12 23:07pm
Dammie Paul 10-Dec-12 12:05pm
Hi Sergey,

Could you please explain?


1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

An external proxy server would do this. You'll either buy one off-the-shelf or have tow rite your own. I sure hope you know TCP/IP, Sockets, proxy servers and standards, ...
Dammie Paul 10-Dec-12 12:07pm
Dear Dave,

Thanks for your response!!!

Please could you elaborate?

Thank you.
Dave Kreskowiak 10-Dec-12 15:22pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100