设置基础架构模式/在托管和ad-hoc WiFi之间切换 [英] Setting infrastructure mode / Switching between managed and ad-hoc WiFi

查看:107
本文介绍了设置基础架构模式/在托管和ad-hoc WiFi之间切换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我正在尝试设置WiFi基础架构模式(来自我的.NET Framework 4.0应用程序),因此我可以根据特定条件在托管和临时之间切换连接。

Hi. I'm trying to set WiFi infrastructure mode (from my .NET Framework 4.0 application) so I can switch connection between managed and ad-hoc depending of certain conditions.

我搜索过论坛和一些相关的问题,但都没有解决。我在http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/86d602d9-8bfe-4d4b-8dc0-758f5c391041/找到了一个代码示例,但没有用。

I've searched in the forums and there are some related questions, but none solved. I found a code example at http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/86d602d9-8bfe-4d4b-8dc0-758f5c391041/ but didn't work.

我需要一些帮助,是否有人知道此事?

I need some help, does anybody know something about this matter?

 

谢谢。

推荐答案

你看过这篇文章吗?
http://social.msdn .microsoft.com / forums / zh-CN / windowsgeneraldevelopmentissues / thread / a2daf71e-b0f2-4d0d-bbf0-54518881cafd /

如果显示所有代码,我会感到惊讶通过调查WMI,上面的帖子无法简化......
http://msdn.microsoft.com/en-us/library/aa394582(v = vs.85)的.aspx 功能WMI是操作系统中非常深入的构造。 实际上,系统知道的所有内容都存储在此处。 您可以通过获取此工具来下载并试验WMI构造
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=09dfc342-648b-4119-b7eb-783b0f7d1178&displaylang=en

I would be surprised if all the code shown at the post above couldn't be simplied by looking into WMI... http://msdn.microsoft.com/en-us/library/aa394582(v=vs.85).aspx  WMI is a very deep construct within the OS.  Virtually everything the system knows is stored here.  You can download and experiment with WMI constructs by getting this tool http://www.microsoft.com/downloads/en/details.aspx?FamilyID=09dfc342-648b-4119-b7eb-783b0f7d1178&displaylang=en

我相信你会找到MSNdis的东西。

I believe you'll be looking for MSNdis stuff.

 


这篇关于设置基础架构模式/在托管和ad-hoc WiFi之间切换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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