在Windows 7及更高版本中启用wifi [英] enable the wifi in windows 7 and later vetion

查看:129
本文介绍了在Windows 7及更高版本中启用wifi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

 我想要启用并且 禁用来自我的应用程序的wifi对于Windows 7及更高版本的转换。

 I Want To Enable and  Disable The wifi From My Applicaion For Windows 7 and later vertion.

请 告诉我如何处理。

Please  Tell me How To Proceede.

谢谢和关注

shavali

推荐答案



朋友,


Hi Friend,

>>我要启用和 禁用来自我的应用程序的wifi对于Windows 7及更高版本的转换。

据我所知,您可以通过利用WMI和Win32_NetworkAdapter WMI类在C#中实现此目的。 Win32_NetworkAdapter类具有可在选定网络接口上执行的启用和禁用方法。

As far as I know, you can achieve this in C# by leveraging WMI and the Win32_NetworkAdapter WMI class. The Win32_NetworkAdapter class has Enable and Disable methods which can be executed on a selected network interface.

您可以参考以下示例:以编程方式启用/禁用连接

You can refer the following example: Programmatically Enable / Disable Connection

使用WMI禁用/启用网络适配器:

https:// code。 msdn.microsoft.com/windowsapps/Disableenable-network-8112f642

Disable/enable network adapter using WMI:
https://code.msdn.microsoft.com/windowsapps/Disableenable-network-8112f642

如果您想试用Windows Mobile系统。您可以参考以下帖子。

If you want to try on Windows Mobile system. You may can refer the following post.

如何使用C#在Windows Mobile 6中启用/禁用WIFI:

HTTPS? //social.msdn.microsoft.com/Forums/en-US/e7c929c7-372c-4196-901f-c3d108cb2ea1/how-to-enabledisable-wifi-in-windows-mobile-6-using-c?forum=vssmartdevicesvbcs

How to Enable/Disable WIFI in Windows Mobile 6 using C#:
https://social.msdn.microsoft.com/Forums/en-US/e7c929c7-372c-4196-901f-c3d108cb2ea1/how-to-enabledisable-wifi-in-windows-mobile-6-using-c?forum=vssmartdevicesvbcs



最好的问候,


Best Regards,

Yohann Lu

Yohann Lu


这篇关于在Windows 7及更高版本中启用wifi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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