Vanara.PInvoke.WlanApi 4.0.4

Prefix Reserved
dotnet add package Vanara.PInvoke.WlanApi --version 4.0.4                
NuGet\Install-Package Vanara.PInvoke.WlanApi -Version 4.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.WlanApi" Version="4.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.WlanApi --version 4.0.4                
#r "nuget: Vanara.PInvoke.WlanApi, 4.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.WlanApi as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.WlanApi&version=4.0.4

// Install Vanara.PInvoke.WlanApi as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.WlanApi&version=4.0.4                

Vanara

Vanara.PInvoke.WlanApi NuGet Package

Version Build status

PInvoke API (methods, structures and constants imported from Windows WlanApi.dll.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.WlanApi

Functions Enumerations Structures Interfaces
WFDCancelOpenSession WFDCloseHandle WFDOpenHandle WFDOpenLegacySession WFDStartOpenSession WFDUpdateDeviceVisibility WlanAllocateMemory WlanCloseHandle WlanConnect WlanDeleteProfile WlanDeviceServiceCommand WlanDisconnect WlanEnumInterfaces WlanExtractPsdIEDataList WlanFreeMemory WlanGetAvailableNetworkList WlanGetFilterList WlanGetInterfaceCapability WlanGetNetworkBssList WlanGetProfile WlanGetProfileCustomUserData WlanGetProfileList WlanGetSecuritySettings WlanGetSupportedDeviceServices WlanHostedNetworkForceStart WlanHostedNetworkForceStop WlanHostedNetworkInitSettings WlanHostedNetworkQueryProperty WlanHostedNetworkQuerySecondaryKey WlanHostedNetworkQueryStatus WlanHostedNetworkRefreshSecuritySettings WlanHostedNetworkSetProperty WlanHostedNetworkSetSecondaryKey WlanHostedNetworkStartUsing WlanHostedNetworkStopUsing WlanIhvControl WlanOpenHandle WlanQueryAutoConfigParameter WlanQueryInterface WlanReasonCodeToString WlanRegisterDeviceServiceNotification WlanRegisterNotification WlanRegisterVirtualStationNotification WlanRenameProfile WlanSaveTemporaryProfile WlanScan WlanSetAutoConfigParameter WlanSetFilterList WlanSetInterface WlanSetProfile WlanSetProfileCustomUserData WlanSetProfileEapUserData WlanSetProfileEapXmlUserData WlanSetProfileList WlanSetProfilePosition WlanSetPsdIEDataList WlanSetSecuritySettings WlanUIEditProfile DOT11_ADHOC_AUTH_ALGORITHM DOT11_ADHOC_CIPHER_ALGORITHM DOT11_ADHOC_CONNECT_FAIL_REASON DOT11_ADHOC_NETWORK_CONNECTION_STATUS ONEX_AUTH_IDENTITY ONEX_AUTH_MODE ONEX_AUTH_RESTART_REASON ONEX_AUTH_STATUS ONEX_EAP_METHOD_BACKEND_SUPPORT ONEX_NOTIFICATION_TYPE ONEX_REASON_CODE ONEX_SUPPLICANT_MODE DOT11_AUTH_ALGORITHM DOT11_BSS_TYPE DOT11_CIPHER_ALGORITHM DOT11_OPERATION_MODE DOT11_PHY_TYPE DOT11_RADIO_STATE WL_DISPLAY_PAGES WLAN_ACCCESS WLAN_ADHOC_NETWORK_STATE WLAN_AUTOCONF_OPCODE WLAN_AVAILABLE_NETWORK_FLAGS WLAN_CONNECTION_FLAGS WLAN_CONNECTION_MODE WLAN_CONNECTION_NOTIFICATION WLAN_FILTER_LIST_TYPE WLAN_HOSTED_NETWORK_NOTIFICATION_CODE WLAN_HOSTED_NETWORK_OPCODE WLAN_HOSTED_NETWORK_PEER_AUTH_STATE WLAN_HOSTED_NETWORK_REASON WLAN_HOSTED_NETWORK_STATE WLAN_IHV_CONTROL_TYPE WLAN_INTERFACE_STATE WLAN_INTERFACE_TYPE WLAN_INTF_OPCODE WLAN_NOTIFICATION_ACM WLAN_NOTIFICATION_MSM WLAN_NOTIFICATION_SOURCE WLAN_OPCODE_VALUE_TYPE WLAN_POWER_SETTING WLAN_PROFILE_FLAGS WLAN_REASON_CODE WLAN_SECURABLE_OBJECT WLAN_SET_EAPHOST ONEX_AUTH_PARAMS ONEX_CONNECTION_PROFILE ONEX_EAP_ERROR ONEX_RESULT_UPDATE_DATA ONEX_STATUS ONEX_USER_INFO ONEX_VARIABLE_BLOB HWFDSERVICE HWFDSESSION HWLANSESSION DOT11_AUTH_CIPHER_PAIR DOT11_BSSID_LIST DOT11_COUNTRY_OR_REGION_STRING DOT11_MAC_ADDRESS DOT11_NETWORK DOT11_SSID EAP_METHOD_TYPE EAP_TYPE NDIS_OBJECT_HEADER WLAN_ASSOCIATION_ATTRIBUTES WLAN_AUTH_CIPHER_PAIR_LIST WLAN_AVAILABLE_NETWORK WLAN_BSS_ENTRY WLAN_CONNECTION_ATTRIBUTES WLAN_CONNECTION_NOTIFICATION_DATA WLAN_CONNECTION_PARAMETERS WLAN_COUNTRY_OR_REGION_STRING_LIST WLAN_DEVICE_SERVICE_NOTIFICATION_DATA WLAN_HOSTED_NETWORK_CONNECTION_SETTINGS WLAN_HOSTED_NETWORK_DATA_PEER_STATE_CHANGE WLAN_HOSTED_NETWORK_PEER_STATE WLAN_HOSTED_NETWORK_RADIO_STATE WLAN_HOSTED_NETWORK_SECURITY_SETTINGS WLAN_HOSTED_NETWORK_STATE_CHANGE WLAN_INTERFACE_INFO WLAN_MAC_FRAME_STATISTICS WLAN_MSM_NOTIFICATION_DATA WLAN_NOTIFICATION_DATA WLAN_PHY_FRAME_STATISTICS WLAN_PHY_RADIO_STATE WLAN_PROFILE_INFO WLAN_RADIO_STATE WLAN_RATE_SET WLAN_RAW_DATA WLAN_RAW_DATA_LIST WLAN_SECURITY_ATTRIBUTES WLAN_STATISTICS DOT11_NETWORK_LIST WLAN_AVAILABLE_NETWORK_LIST WLAN_BSS_LIST WLAN_DEVICE_SERVICE_GUID_LIST WLAN_HOSTED_NETWORK_STATUS WLAN_INTERFACE_CAPABILITY WLAN_INTERFACE_INFO_LIST WLAN_PROFILE_INFO_LIST WLAN_RAW_DATA_INFO IDot11AdHocInterface IDot11AdHocInterfaceNotificationSink IDot11AdHocManager IDot11AdHocManagerNotificationSink IDot11AdHocNetwork IDot11AdHocNetworkNotificationSink IDot11AdHocSecuritySettings IEnumDot11AdHocInterfaces IEnumDot11AdHocNetworks IEnumDot11AdHocSecuritySettings
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Vanara.PInvoke.WlanApi:

Package Downloads
Vanara.SystemServices

Classes for system related items derived from the Vanara PInvoke libraries. Includes extensions for Process (privileges and elavation), FileInfo (compression info), Shared Network Drives and Devices, and ServiceController (SetStartType) that pull extended information through native API calls.

Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

Vanara.PInvoke.WcnApi

PInvoke API (methods, structures and constants) imported from Windows Connect Now (WcnApi.dll).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.4 616 9/13/2024
4.0.3 355 8/5/2024
4.0.2 361 6/24/2024
4.0.1 562 4/30/2024
4.0.0 305 3/29/2024
4.0.0-beta2 471 1/22/2024
4.0.0-beta 628 11/20/2023
3.4.17 1,810 10/18/2023
3.4.16 1,085 8/7/2023
3.4.15 1,007 5/18/2023
3.4.14 1,023 4/15/2023
3.4.13 1,893 2/4/2023
3.4.12 2,275 1/15/2023
3.4.11 1,522 11/15/2022
3.4.10 1,809 10/25/2022
3.4.9 1,736 10/3/2022
3.4.8 1,804 9/16/2022
3.4.7 1,875 9/3/2022
3.4.6 1,920 8/7/2022
3.4.5 6,493 7/17/2022
3.4.4 2,202 7/5/2022
3.4.3 1,958 6/14/2022
3.4.2 2,448 5/13/2022
3.4.1 1,962 5/5/2022
3.4.0 2,613 3/14/2022
3.3.15 5,466 12/27/2021
3.3.14 1,451 10/26/2021
3.3.13 1,436 9/30/2021
3.3.12 1,647 8/30/2021
3.3.11 8,019 7/22/2021
3.3.10 1,572 6/4/2021
3.3.9 1,790 5/7/2021
3.3.8 1,520 4/7/2021
3.3.7 1,521 3/24/2021
3.3.6 1,505 3/19/2021
3.3.5 1,377 3/1/2021
3.3.4 1,244 2/11/2021
3.3.3 1,253 2/3/2021
3.3.2 1,283 1/21/2021
3.3.1 1,356 1/20/2021
3.3.0 1,612 11/20/2020
3.2.21 1,291 11/13/2020
3.2.20 4,246 11/8/2020
3.2.19 5,151 10/23/2020
3.2.18 1,384 10/21/2020
3.2.17 2,946 9/20/2020
3.2.16 1,430 9/7/2020
3.2.15 1,177 8/30/2020
3.2.14 1,133 8/20/2020
3.2.13 1,243 7/27/2020
3.2.12 1,183 7/13/2020
3.2.11 1,265 6/28/2020
3.2.10 1,286 6/14/2020
3.2.9 1,551 6/3/2020
3.2.7 1,273 5/4/2020
3.2.6 1,212 4/21/2020
3.2.5 1,225 4/15/2020
3.2.4 1,203 4/12/2020
3.2.3 1,205 4/1/2020

Currently implements:

Functions
WFDCancelOpenSession WFDCloseHandle WFDOpenHandle WFDOpenLegacySession WFDStartOpenSession WFDUpdateDeviceVisibility WlanAllocateMemory WlanCloseHandle WlanConnect WlanDeleteProfile WlanDeviceServiceCommand WlanDisconnect WlanEnumInterfaces WlanExtractPsdIEDataList WlanFreeMemory WlanGetAvailableNetworkList WlanGetFilterList WlanGetInterfaceCapability WlanGetNetworkBssList WlanGetProfile WlanGetProfileCustomUserData WlanGetProfileList WlanGetSecuritySettings WlanGetSupportedDeviceServices WlanHostedNetworkForceStart WlanHostedNetworkForceStop WlanHostedNetworkInitSettings WlanHostedNetworkQueryProperty WlanHostedNetworkQuerySecondaryKey WlanHostedNetworkQueryStatus WlanHostedNetworkRefreshSecuritySettings WlanHostedNetworkSetProperty WlanHostedNetworkSetSecondaryKey WlanHostedNetworkStartUsing WlanHostedNetworkStopUsing WlanIhvControl WlanOpenHandle WlanQueryAutoConfigParameter WlanQueryInterface WlanReasonCodeToString WlanRegisterDeviceServiceNotification WlanRegisterNotification WlanRegisterVirtualStationNotification WlanRenameProfile WlanSaveTemporaryProfile WlanScan WlanSetAutoConfigParameter WlanSetFilterList WlanSetInterface WlanSetProfile WlanSetProfileCustomUserData WlanSetProfileEapUserData WlanSetProfileEapXmlUserData WlanSetProfileList WlanSetProfilePosition WlanSetPsdIEDataList WlanSetSecuritySettings WlanUIEditProfile

Structures
DOT11_AUTH_CIPHER_PAIR DOT11_BSSID_LIST DOT11_COUNTRY_OR_REGION_STRING DOT11_MAC_ADDRESS DOT11_NETWORK DOT11_NETWORK_LIST DOT11_SSID EAP_METHOD_TYPE EAP_TYPE HWFDSERVICE HWFDSESSION HWLANSESSION NDIS_OBJECT_HEADER ONEX_AUTH_PARAMS ONEX_CONNECTION_PROFILE ONEX_EAP_ERROR ONEX_RESULT_UPDATE_DATA ONEX_STATUS ONEX_USER_INFO ONEX_VARIABLE_BLOB WLAN_ASSOCIATION_ATTRIBUTES WLAN_AUTH_CIPHER_PAIR_LIST WLAN_AVAILABLE_NETWORK WLAN_AVAILABLE_NETWORK_LIST WLAN_BSS_ENTRY WLAN_BSS_LIST WLAN_CONNECTION_ATTRIBUTES WLAN_CONNECTION_NOTIFICATION_DATA WLAN_CONNECTION_PARAMETERS WLAN_COUNTRY_OR_REGION_STRING_LIST WLAN_DEVICE_SERVICE_GUID_LIST WLAN_DEVICE_SERVICE_NOTIFICATION_DATA WLAN_HOSTED_NETWORK_CONNECTION_SETTINGS WLAN_HOSTED_NETWORK_DATA_PEER_STATE_CHANGE WLAN_HOSTED_NETWORK_PEER_STATE WLAN_HOSTED_NETWORK_RADIO_STATE WLAN_HOSTED_NETWORK_SECURITY_SETTINGS WLAN_HOSTED_NETWORK_STATE_CHANGE WLAN_HOSTED_NETWORK_STATUS WLAN_INTERFACE_CAPABILITY WLAN_INTERFACE_INFO WLAN_INTERFACE_INFO_LIST WLAN_MAC_FRAME_STATISTICS WLAN_MSM_NOTIFICATION_DATA WLAN_NOTIFICATION_DATA WLAN_PHY_FRAME_STATISTICS WLAN_PHY_RADIO_STATE WLAN_PROFILE_INFO WLAN_PROFILE_INFO_LIST WLAN_RADIO_STATE WLAN_RATE_SET WLAN_RAW_DATA WLAN_RAW_DATA_INFO WLAN_RAW_DATA_LIST WLAN_SECURITY_ATTRIBUTES WLAN_STATISTICS

Interfaces
IDot11AdHocInterface IDot11AdHocInterfaceNotificationSink IDot11AdHocManager IDot11AdHocManagerNotificationSink IDot11AdHocNetwork IDot11AdHocNetworkNotificationSink IDot11AdHocSecuritySettings IEnumDot11AdHocInterfaces IEnumDot11AdHocNetworks IEnumDot11AdHocSecuritySettings