In my Delphi (on Windows Xp) program I'd like to check available WiFi networks. Do you have any idea how to do it? Best is probably to use MS WlanScan API function but I did not found an example. Can someone help me?
相关问题
- Is there a Delphi 5 component that can handle .png
- Is there a way to install Delphi 2010 on Windows 2
- Is TWebBrowser dependant on IE version?
- iOS objective-c object: When to use release and wh
- DBGrid - How to set an individual background color
相关文章
- Best way to implement MVVM bindings (View <-> V
- Windows EventLog: How fast are operations with it?
- How to force Delphi compiler to display all hints
- Coloring cell background on firemonkey stringgrid
- HelpInsight documentation in Delphi 2007
- Can RTTI interrogate types from project code at de
- What specifically causes EPrivilege to be raised?
- Equivalent to designer guidelines in code
You can get to this also by performing a WMI query:
If you are specifically looking for a delphi implementation, there is a WMI library available from Magenta Systems which includes complete source and may be freely used. The available download includes a compiled executable where you can try this query to see if it contains all of the data that you are looking for. The only disadvantage of this approach is that the WMI service must be running (it normally is so this is not that big of a problem).
You can use the Native Wifi API, available since Windows Vista and Windows XP. Older versions of Windows are not supported.
In this link you can find a very nice translation of the headers.
I wrote this code using these headers. Tested in Delphi 2007 and Windows Vista.
alt text http://i33.tinypic.com/2z83ubt.jpg
Bye.