使用VB.NET连接到可用的无线网络 [英] Connect to an available wireless network using VB.NET

查看:296
本文介绍了使用VB.NET连接到可用的无线网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用VB.NET如何连接到可用的无线网络。我已经能够列出所有可用的网络。

Using VB.NET how do I connect to an available wireless network. I have been able to list all the available networks.

推荐答案

假设您要控制Windows biult-in wifi堆栈,您应该可以使用 WlanConnect函数来完成此操作。在 pinvoke.net 处可用签名。

Assuming you are wanting to control the Windows biult-in wifi stack, you should be able to do it with the WlanConnect Function. A signature is availeble at pinvoke.net.

MSDN包含与wifi相关的文章列表此处

MSDN has a list of the articles pertaining to wifi here.

MSDN页面没有说明是否是这种情况,但是应用程序可能需要提升的权限才能使用这个API ...

The MSDN page does not say whether this is the case, but an application might need elevated permissions to use this API...

这篇关于使用VB.NET连接到可用的无线网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆