資源簡介
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學生成績管理系統
評論
共有 條評論