Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: DirectoryInfo.GetAccessControl() throws InvalidOperationException "Method failed with unexpected error code 1" Pin
Gerd Krause1-Jul-15 23:21
Gerd Krause1-Jul-15 23:21 
QuestionHow i can pause/resume a thread in window form application ? Pin
Husnul karim30-Jun-15 20:59
Husnul karim30-Jun-15 20:59 
AnswerRe: How i can pause/resume a thread in window form application ? Pin
Pete O'Hanlon30-Jun-15 23:36
mvePete O'Hanlon30-Jun-15 23:36 
QuestionHow to check if pieces are ordered Pin
Aleksandar Jeftic30-Jun-15 11:22
Aleksandar Jeftic30-Jun-15 11:22 
GeneralRe: How to check if pieces are ordered Pin
PIEBALDconsult30-Jun-15 11:25
mvePIEBALDconsult30-Jun-15 11:25 
GeneralRe: How to check if pieces are ordered Pin
Aleksandar Jeftic2-Jul-15 4:50
Aleksandar Jeftic2-Jul-15 4:50 
AnswerRe: How to check if pieces are ordered Pin
Freak3030-Jun-15 21:20
Freak3030-Jun-15 21:20 
QuestionHotSpot Management via ICS in C# Pin
spaika30-Jun-15 4:31
spaika30-Jun-15 4:31 
Ive been researched about ICS in C# for Windows 7/8+, but there's no source codes i've found yet. Ive been planning to make a Hotspot Management networking tool via C# and would like to share here. Therefore, I dont want to use packet capture method like WinPCap or SharpPcap cause its kinda complicated.

So far I've found for Windows OS is ICS can be related with Hotspot.
However, for Linux is: FreeRadius & CoovaChilli.

There's closed-source such as CuteHotSpot, MyHotSpot, y2cloud hotspot Management.
The open-source is : EasyHotSpot, but only works with Linux because its requires FreeRadius and CoovaChilli.

This is how the hotspot works:

C#
Internet Gateway (192.168.1.1, 255.255.255.0)
     |
     |
     | 
     | NIC 1: 192.168.1.2, 255.255.255.0
 Server X (OS: Windows 7, ICS enabled)
     |    (Apache + MySQL Servers: csharp-hotspot.com)
     |    (planned for HotSpot management server in C#)
     | NIC 2: 192.168.137.1, 255.255.255.0
     |
     |
     |
 Access Point (192.168.2.1, Gateway: 192.168.137.1)
     |        (DHCP: 192.168.2.50-254)
     |
   -------------
  |             |
  |             |
  |             |
PC 1            PC 2
(192.168.2.50)  (192.168.2.51)


I just need know how to do this with ICS and is it possible in C# language? The C# hotspot management system i wanting to made will be running in the "Server X", along with Apache and MySQL Server as well.

How Hotspot Management System works?
1) When PC 1/2 open any websites (ie: codeproject.com)
2) The server send response to PC 1/2: (ie: csharp-hotpot.com)
3) PC 1/2 login at csharp-hotspot.com
4) The server send response: login success
5) Pc 1/2 will be redirected to the website they have entered (ie: codeproject.com)

Similar with?
- StarBuck Wifi Hotspot
- Any Cafe Wifi Hotspot

Thanks...
Im noob. haha

QuestionInsert Image in excel with transperancy enabled Pin
Member 1179983729-Jun-15 23:56
Member 1179983729-Jun-15 23:56 
AnswerRe: Insert Image in excel with transperancy enabled Pin
Richard Deeming30-Jun-15 1:02
mveRichard Deeming30-Jun-15 1:02 
QuestionRead/Write App Settings Not Working Pin
Kevin Marois29-Jun-15 9:16
professionalKevin Marois29-Jun-15 9:16 
AnswerRe: Read/Write App Settings Not Working Pin
Eddy Vluggen29-Jun-15 10:36
professionalEddy Vluggen29-Jun-15 10:36 
GeneralRe: Read/Write App Settings Not Working Pin
Kevin Marois29-Jun-15 11:23
professionalKevin Marois29-Jun-15 11:23 
QuestionRe: Read/Write App Settings Not Working Pin
Eddy Vluggen29-Jun-15 11:28
professionalEddy Vluggen29-Jun-15 11:28 
AnswerRe: Read/Write App Settings Not Working Pin
Kevin Marois29-Jun-15 12:00
professionalKevin Marois29-Jun-15 12:00 
GeneralRe: Read/Write App Settings Not Working Pin
Pete O'Hanlon29-Jun-15 19:42
mvePete O'Hanlon29-Jun-15 19:42 
GeneralRe: Read/Write App Settings Not Working Pin
Kevin Marois30-Jun-15 3:47
professionalKevin Marois30-Jun-15 3:47 
GeneralRe: Read/Write App Settings Not Working Pin
Dave Kreskowiak30-Jun-15 5:16
mveDave Kreskowiak30-Jun-15 5:16 
GeneralRe: Read/Write App Settings Not Working Pin
Kevin Marois30-Jun-15 5:21
professionalKevin Marois30-Jun-15 5:21 
GeneralRe: Read/Write App Settings Not Working Pin
Alex Casals30-Jun-15 13:35
professionalAlex Casals30-Jun-15 13:35 
GeneralRe: Read/Write App Settings Not Working Pin
Brisingr Aerowing1-Jul-15 7:34
professionalBrisingr Aerowing1-Jul-15 7:34 
Questionip chenger Pin
Member 1180057729-Jun-15 4:59
Member 1180057729-Jun-15 4:59 
QuestionRe: ip chenger Pin
Richard MacCutchan29-Jun-15 5:13
mveRichard MacCutchan29-Jun-15 5:13 
AnswerRe: ip chenger Pin
OriginalGriff29-Jun-15 5:25
mveOriginalGriff29-Jun-15 5:25 
AnswerRe: ip chenger Pin
Abhipal Singh29-Jun-15 7:18
professionalAbhipal Singh29-Jun-15 7:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.