简体   繁体   English

使用C#或Powershell扫描所有可用的无线网络并连接到特定的SSID

[英]Using C# or Powershell to scan all available wireless networks and connect to a specific SSID

I am trying to write a script that scans all the available wireless networks and connects to a specific network (SSID). 我正在尝试编写一个脚本,扫描所有可用的无线网络并连接到特定网络(SSID)。 Does anyone have a sample code written already for this? 有没有人为此已经编写了示例代码? I cannot install a third party software (managed wifi api) due to some restrictions. 由于某些限制,我无法安装第三方软件(托管的wifi api)。

Check this related article: Managing wireless network connection in C# . 查看相关文章: 在C#中管理无线网络连接 There are some answers, as well as a link to a sample app on codeproject that connects and shows basic wireless info (signal strength, etc) using a UI. 有一些答案,以及指向codeproject上的示例应用程序的链接,该应用程序使用UI连接并显示基本的无线信息(信号强度等)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM