资源简介
wifi无线通讯示例,微软提供。适用于wince手机,windowsmobile系统。语言为C#。
代码片段和文件信息
using System;
using System.Runtime.InteropServices;
using System.Net.NetworkInformation;
using System.Text;
using System.Diagnostics;
using System.ComponentModel;
namespace NativeWifi
{
// TODO: Separate the functions and the structs/enums. Many of the structs/enums should remain public
// (since they‘re reused in the OOP interfaces) -- the rest (including all P/Invoke function mappings)
// should become internal.
// All structures which native methods rely on should be kept in the Wlan class.
// Only change the layout of those structures if it matches the native API documentation.
// Some structures might have helper properties but adding or changing fields is prohibited.
// This class is not documented since all the documentation resides in the MSDN. The code
// documentation only covers details which concern interop users.
// Some identifier names were modified to correspond to .NET naming conventions
// but otherwise retain their native meaning.
///
/// Defines the Native Wifi API through P/Invoke interop.
///
///
/// This class is intended for internal use. Use the class instead.
///
public static class Wlan
{
#region P/Invoke API
///
/// Defines various opcodes used to set and query parameters for an interface.
///
///
/// Corresponds to the native WLAN_INTF_OPCODE type.
///
public enum WlanIntfOpcode
{
///
/// Opcode used to set or query whether auto config is enabled.
///
AutoconfEnabled = 1
///
/// Opcode used to set or query whether background scan is enabled.
///
BackgroundScanEnabled
///
/// Opcode used to set or query the media streaming mode of the driver.
///
MediaStreamingMode
///
/// Opcode used to set or query the radio state.
///
RadioState
///
/// Opcode used to set or query the BSS type of the interface.
///
BssType
///
/// Opcode used to query the state of the interface.
///
InterfaceState
///
/// Opcode used to query information about the current connection of the interface.
///
CurrentConnection
///
/// Opcose used to query the current channel on which the wireless interface is operating.
///
ChannelNumber
///
/// Opcode used to query the supported auth/cipher pairs for infrastructure mode.
///
SupportedInfrastructureAuthCipherPairs
///
/// Opcode used to query the supported auth/cipher pairs for ad hoc mode.
///
SupportedAdhocAuthCipherPairs
///
/// Opcode used to query the list of supported country or region strings.
///
S
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 59824 2007-10-14 19:42 Wifi通讯示例\Backup\Interop.cs
文件 1997 2007-10-14 18:41 Wifi通讯示例\Backup\ManagedWifi.csproj
文件 1508 2007-10-14 18:41 Wifi通讯示例\Backup\Properties\AssemblyInfo.cs
文件 28943 2007-10-14 19:33 Wifi通讯示例\Backup\WlanApi.cs
文件 59824 2007-10-14 19:42 Wifi通讯示例\Interop.cs
文件 2168 2009-05-15 14:10 Wifi通讯示例\ManagedWifi.csproj
文件 911 2009-05-15 14:17 Wifi通讯示例\ManagedWifi.sln
..A..H. 9216 2009-05-15 14:17 Wifi通讯示例\ManagedWifi.suo
文件 1508 2007-10-14 18:41 Wifi通讯示例\Properties\AssemblyInfo.cs
文件 1603 2009-05-15 14:10 Wifi通讯示例\UpgradeLog.xm
文件 28943 2007-10-14 19:33 Wifi通讯示例\WlanApi.cs
文件 3348 2009-05-15 14:10 Wifi通讯示例\_UpgradeReport_Files\UpgradeReport.css
文件 12505 2008-01-11 01:25 Wifi通讯示例\_UpgradeReport_Files\UpgradeReport.xslt
文件 69 2009-05-15 14:10 Wifi通讯示例\_UpgradeReport_Files\UpgradeReport_Minus.gif
文件 71 2009-05-15 14:10 Wifi通讯示例\_UpgradeReport_Files\UpgradeReport_Plus.gif
目录 0 2009-05-15 14:10 Wifi通讯示例\obj\Debug\TempPE
目录 0 2009-05-15 14:10 Wifi通讯示例\Backup\Properties
目录 0 2009-05-15 14:10 Wifi通讯示例\bin\Debug
目录 0 2009-05-15 14:10 Wifi通讯示例\obj\Debug
目录 0 2009-05-15 14:10 Wifi通讯示例\Backup
目录 0 2009-05-15 14:10 Wifi通讯示例\bin
目录 0 2009-05-15 14:10 Wifi通讯示例\obj
目录 0 2007-10-14 18:41 Wifi通讯示例\Properties
目录 0 2009-05-15 14:10 Wifi通讯示例\_UpgradeReport_Files
目录 0 2009-05-15 14:17 Wifi通讯示例
文件 616448 2008-05-09 15:11 使用 .NET Compact fr
文件 44 2008-05-12 11:35 使用 .NET Compact fr
目录 0 2008-06-17 19:30 使用 .NET Compact fr
----------- --------- ---------- ----- ----
828930 28
............此处省略1个文件信息
- 上一篇:C# Mysql 图书管理系统
- 下一篇:ASP.NET学生成绩管理系统
相关资源
- C# 调用win32 api函数-user32.dll详细说明
- C# 调用BarTender打印条码DEMO
- 大型比赛竞赛抽签系统 可打印 c# vs
- C#编写的Gerber查看器
- lua C# .Net4.0 vs2010 LuaInterface
- C#十六进制编辑器
- 明华URF-35H读卡器 C#读写源码 为大家
- C#文件流读取CSV文件
- c#读写PDF文件sql
- C# winform Socket大文件传输
- c#车牌识别系统附30张测试图片
- 《C#面向对象程序设计》源代码(CS)
- 金旭亮《C#面向对象程序设计》教案
- 试题库管理系统毕业论文(C#)源程序
- 学校网站原代码(C#.NET)
- C#-数据库操作技术-员工管理系统
- c#web开发入门经典
- C#与Matlab混合编程的几种方式
- c# 开发与 mysql数据库实现的增删改查
- C#异步操作 异步查询数据库 异步处理
- Basler相机通过IO触发源码
- [源代码] 《领域驱动设计 (C# 2008 实
- 松下PLC与C#通讯串口调试入门教程.z
- USB 继电器控制器 LCUS-1 保证能用 c#
- C# AES加密解密小工具
- C#圆形按钮,非常漂亮动态~~
- [精]C#仿QQ右下角弹出提示框()
- C#进程间通信-共享内存代码
- 有史以来最简单的三层(C#)
- vb调用c#编写的串口DLL文件(vb源码
评论
共有 条评论