C# 如何通过传递凭据将机器(计算机)与Wifi服务器连接

C# 如何通过传递凭据将机器(计算机)与Wifi服务器连接,c#,.net,sockets,tcp,network-programming,C#,.net,Sockets,Tcp,Network Programming,我必须为互联网数据使用开发一个Wifi服务器计费应用程序。现在是我的工作流程 1.Any System in the Wifi range will require Username and Password to get connected with the Wifi Server. 2.The moment any system gets connected into the Wifi Server after passing correct username and password My

我必须为互联网数据使用开发一个Wifi服务器计费应用程序。现在是我的工作流程

1.Any System in the Wifi range will require Username and Password to get connected with the Wifi Server.
2.The moment any system gets connected into the Wifi Server after passing correct username and password My application should know the IP address of the system along with Connection time.
3.Now from there whatever data is used by that System (Ip address) should get recorded in my system.
这就是我一直想开发的基本wifi计费应用程序的流程

我对c#中的TCP/Ip和套接字编程有点了解

非常感谢您的任何建议或帮助


谢谢..

这里有太多的话要说,但本质上,您需要确保不允许任何主机连接,并且在您的计费系统授予其访问权限之前,根据MAC地址为其路由流量。对于这类主机,您只允许它们“与”为您的计费系统的网站提供服务的特定IP/端口进行“对话”

为了实现这一点,您需要一种直接与WIFI接入点和路由器(可能是相同的设备或不同的设备)接口的方法


已经有一些这样的系统可用,即使你准备跟随白兔,你仍然应该熟悉那里的情况。尝试了解这些系统的工作方式和原因及其局限性。然后,您可以尝试推出自己的,或者与现有的集成或扩展。

好吧,我建议您继续猜测如何实施每一步,然后尝试,然后提出问题,询问您遇到问题的地方出了什么问题。我认为,仅仅问“我如何继续实施整个项目”不适合这个论坛。非常感谢你的宝贵建议。如果你能给我指出一个我可以开始的地方,那将是最好的。谢谢