Net包装托管无线Win32

Net包装托管无线Win32

本文介绍了是否有一个坚实的.Net包装托管无线Win32 API的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人开发(作为开源或作为一个价格合理的商业产品)一个.NET实现Win32本地无线API的?还是没有人知道这里这样的事?

我已经做了大约一个小时,洞穴探险谷歌,MSDN,pinvoke.net这里的一半,并没有发现任何东西。如果我错过了一些东西很明显,我道歉!

我们是在一个时间紧迫,我不太了解无线网络,我需要得到的东西快速运行。我可以砍'N'浆糊pinvoke.net,或C ++编写一个.NET包装类,但我preFER不花时间这样做,如果可能的话。

我们需要做的是不断地调查一个特定的SSID的presence;当它看到,立即连接并报告给客户,那么谁可以送一些插座和/或SOAP消息,然后提醒我们,当它的安全断开连接。我们需要能够报告的信号强度到客户端,以及...它需要做出关于使用无线上网的与提供给它的其他通信模式的智能决策。对于第一次迭代,这可能是不安全的,但我们可能要添加到指定的未来WEP密钥的能力。

 非常感谢 -
卡尔
 

解决方案

做网络管理API被包裹在的帮你吗?我相信你可以得到一个.NET事件时,各种各样的事情发生,以及特定的SSID数量肯定的可用性。我没有做过超过运行演示自己,但看看。我想你会喜欢的许可条款也 - 由于你可以将库到code

更新

在给定的API,不幸的是,不再可用。该链接指向 MSDN档案页面。幸运的是,这里的答案 给链接的二进制文件前面提到的API。

Has anyone developed (either as open source or as a reasonably-priced commercial offering) a .Net implementation of the Win32 Native Wifi API? Or does anyone here know of such a thing?

I've done about an hour and a half of spelunking on Google, MSDN, pinvoke.net and here, and haven't found anything. If I've missed something obvious, I apologize!

We're on a tight deadline, I know little about Wifi, and I need to get something running quickly. I can either cut 'n' paste from pinvoke.net, or write a .Net wrapper class in C++, but I'd prefer not to spend the time doing that, if possible.

What we need to do is poll continuously for the presence of a particular SSID; when it's seen, connect immediately and report to the client, who can then send some socket and/or SOAP messages, then advise us when it's safe to disconnect. We need to be able to report the signal strength to the client, as well ... it needs to make intelligent decisions about using Wifi vs. other communication modes available to it. For the first iteration, this can be unsecured, but we'll probably want to add the ability to specify a WEP key in the future.

thanks very much --
Carl
解决方案

Do the network management APIs that are wrapped up in the Code Pack help you? I believe you can get a .NET event when various things happen, and surely the availability of a specific SSID counts. I haven't done more than run the demo myself, but take a look. I think you'll like the license terms also - you're allowed to incorporate the library into your code.

UPDATE:

The given API, unfortunately, is no longer available. The link leads to the MSDN archives pages. Luckily, the answers here give links to the binaries of the aforementioned API.

这篇关于是否有一个坚实的.Net包装托管无线Win32 API的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 17:02