Export (0) Print
Expand All

Wireless Hosted Network Sample

A wireless Hosted Network sample that demonstrates the use of wireless Hosted Network functions is included with the Microsoft Windows Software Development Kit (SDK). The latest version of the Windows SDK is available from the Download Center.

By default, the wireless Hosted Network sample source code is installed in the following directory:

C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\NetDs\Wlan

The wireless Hosted Network sample is located under the following folder:

WirelessHostedNetwork

The Wireless Hosted Network sample can be compiled on the Windows SDK for Windows 7. The Wireless Hosted Network sample can be run on Windows 7 and on Windows Server 2008 R2 with the Wireless LAN Service installed.

On Windows 7 and on Windows Server 2008 R2 with the Wireless LAN Service installed, the operating system installs a virtual device if a Hosted Network capable wireless adapter is present on the machine. This virtual device normally shows up in the "Network Connections Folder" as "Wireless Network Connection 2" with a Device Name of "Microsoft Virtual WiFi Miniport adapter" if the computer has a single wireless network adapter. This virtual device is used exclusively for performing software access point (SoftAP) connections. The lifetime of this virtual device is tied to the physical wireless adapter. If the physical wireless adapter is disabled, this virtual device will be removed as well.

The wireless Hosted Network functions are used to start and stop the wireless Hosted Network, configure or change settings, or query for information.

Related topics

About the Wireless Hosted Network
Using Hosted Network and Internet Connection Sharing
WlanHostedNetworkForceStart
WlanHostedNetworkInitSettings
WlanHostedNetworkQueryProperty
WlanHostedNetworkQuerySecondaryKey
WlanHostedNetworkQueryStatus
WlanHostedNetworkRefreshSecuritySettings
WlanHostedNetworkSetProperty
WlanHostedNetworkSetSecondaryKey
WlanHostedNetworkStartUsing
WlanHostedNetworkStopUsing
WlanRegisterVirtualStationNotification

 

 

Community Additions

ADD
Show:
© 2014 Microsoft