Click here to Skip to main content
11,790,021 members (43,353 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# 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 12:39pm
Edited 10-Dec-12 8:20am
Sergey Alexandrovich Kryukov at 9-Dec-12 21:18pm
Poor, poor users... :-(
aspnet_regiis -i at 9-Dec-12 23:07pm
Dammie Paul at 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 at 10-Dec-12 12:07pm
Dear Dave,

Thanks for your response!!!

Please could you elaborate?

Thank you.
Dave Kreskowiak at 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
0 OriginalGriff 1,029
1 Maciej Los 790
2 KrunalRohit 686
3 CPallini 606
4 Richard MacCutchan 460

Advertise | Privacy | Mobile
Web04 | 2.8.1509028.1 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2015
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