Home
Company
Developer Tools
WinI2C/DDC
WiFi-Manager
Overview
Advanced WiFi
Features
FAQ
Download
Order
Online Help
Testimonials
License Agreement
Advanced PDF Viewer
N-Manager
Utilities
Order
Articles
Contacts
Press
Site map
Member zone


Latest news:
September 2, 2010

Advanced WiFi-Manager v4.6 released!


June 18, 2010

Advanced WiFi-Manager v4.5 released!


June 9, 2010

WinI2C/DDC v3.71 released!









 WiFi-Manager: Developer's Guide


WiFi-Manager consists from one file only: WiFiMan.dll. This file must be located under "<windows>\system32" or any other directory available for the running application. If you want to use WiFi-Manager as COM object then this file must be registered through regsvr32.exe before using.

Advanced WiFi-Manager also contains NDIS driver: wifimanio.sys The best solution is copy this file to "<windows>\system32\drivers" directory. This driver must be installed at your software installation, use InstallDriver function for that.


Firstly, you should enumerate available wireless adapters by calling EnumerateAdapters function. It will return a number of adapters found if success, otherwise it will return an error code.

After adapters enumeration, you can call any other WiFi-Manager functions. For example, following example will display all available WiFi networks for first adapter:

...
#include "wifiman.h"
...
int res;
char name[256];

res = EnumerateAdapters();
if (res > ERROR_OFFSET) return; //some error
if (res == 0) return; //no adapters found
res = EnumerateAvailableNetworks(0); //enumerate available networks for first adapter (0)
if (res > ERROR_OFFSET) return; //some error
for (int i=0; i < res; i++)
{
    GetAvailableNetworkName(0, i, name, 256); //get name of network (i) of first adapter (0)
    MessageBox(0, name, NULL, 0); //display network name
}



You should call FreeAllResources function when WiFi-Manager library is not necessary anymore, this function will release all allocated memory and resources.

WiFi-Manager package contains demo projects for various programming languages (VB, C++, C#, Delphi), see "Samples" directory for details.




   Copyright ©2002-2010, Nicomsoft Ltd. All Right Reserved.  Privacy Policy  |  Terms of Use