Questions tagged [wlanapi]

74 questions
0
votes
2 answers

Find what is the channel using Windows API

I am trying to get the Channel using the windows API. So far, I have tried to use the wlan_intf_opcode_channel_number with the WlanQueryInterface function. I am not too sure what the reply means on that thread and was hoping someone could…
0
votes
1 answer

VB.Net - wlanapi.dll WlanSetProfileEapXmlUserData

We are trying to create an application for our BYOD users for them to connect effortlessly to our 802.1x network. I've found the following code on the web : Imports System.Runtime.InteropServices Module Module1 Private _stringToHex As…
blabla296
  • 11
  • 1
0
votes
1 answer

error: 'WlanScan' was not declared in this scope

I have been playing around with wlanapi in windows. I did not have any problem compiling or running until I tried using the function WlanScan. Then I was unable to compile due to "WlanScan" not being declared in the scope. I wrote a really short…
EFTH
  • 475
  • 5
  • 14
0
votes
1 answer

Does WlanFreeMemory() work with NULL

In looking at wlanapi examples I recently saw the following pattern a few times: if (ptr) { WlanFreeMemory(ptr); } I wrote a small program to call WlanFreeMemory on a null pointer, and it executed without any errors (that I could observe), but…
Ryan Haining
  • 35,360
  • 15
  • 114
  • 174
0
votes
1 answer

Add reference of wlanapi.dll in windows 8

I want to measure signal strength of Wifi by using wlanapi function.My code is giving me error on using NativeWifi statement. How do i add reference to wlanapi.dll in windows 8?
0
votes
0 answers

Turn ON radio using wlan api

I have requirement to turn off wireless radio using wlanapi in C#. Iam able to turn off the radio but not able to turn on. Here is my code: WLAN_PHY_RADIO_STATE wlan_intf_opcode_radio_state = new…
Mahesh
  • 705
  • 3
  • 8
  • 17
0
votes
1 answer

How to know wifi connection has internet enabled using windows apis

I am using Windows XP. I am using wlanapi dll for getting API of wifi. When I connected with any wifi interface, How to know wifi connection has internet connection enabled or not? Is there any API or way to know??
0
votes
1 answer

Where do I obtain x86 wlanapi.dll for Windows Server 2008 R2?

Running Dependency Walker for my 32-bit dll shows that I require wlanapi.dll (x86) which was missing from my Microsoft Server 2008 R2 machine. The following post mentions that Wireless LAN service needs to be installed…
curryage
  • 481
  • 1
  • 6
  • 19
0
votes
1 answer

WlanApi: fetch MacAddress of Wireless signal without connecting

Using WlanApi.lib, I am able to get the Listof Available signal details using WlanGetAvailableNetworkList functionMSDN Link. In order to get the Mac Address, Channel of each available signal, I need to use WlanQueryInterface function. This function…
Srinivas
  • 31
  • 7
0
votes
1 answer

Wifi Raw data transfer

I'am trying to implement a program to be installed in two PCs that allow raw packet data transfer using 802.11. Well, I want to communicate with external device via Wifi interface. The device has a RS232-wlan module. And to command the device from…
ARM
  • 363
  • 1
  • 7
  • 18
0
votes
1 answer

How to Get Rssi Value of WlanGetNetworkBssList Function Return Value

Windows's WlanAPi has a function which is WlanGetNetworkBssList.This function return a variable which type is PWLAN_AVAILABLE_NETWORK. How to get rssi value of PWLAN_AVAILABLE_NETWORK rssi value using windows wlan api ?
cyo
  • 193
  • 2
  • 4
  • 17
-1
votes
2 answers

Verify that ipconfig was applied

I am currently developing a tool that automatically connects and authenticates users to certain wireless hotspots under given circumstances. To test if the device is behind a captive portal i send a http request via wininet and check if it gets…
Paul
  • 5,524
  • 1
  • 22
  • 39
-2
votes
1 answer

How to get wlan transfer speed?

How to get current value of wlan transfer speed(PC-Router)? I am trying to search this parametr in wlanapi library, but I couldn't. I want "wireless network connection speed". I guess it is the same as "theoretical bits per second"
Jerome
  • 35
  • 6
-3
votes
1 answer

Wlan connection issue

I want to connect to the wireless access point using WlanConnect function. Code: HANDLE hClient; PWLAN_INTERFACE_INFO_LIST pIfList; PWLAN_INTERFACE_INFO pIfInfo; PWLAN_AVAILABLE_NETWORK_LIST pBssList; DWORD dwResult = 0; WLAN_CONNECTION_PARAMETERS…
Cobra91151
  • 610
  • 4
  • 14
1 2 3 4
5