Sometimes developers need to programmatically list the known Wi-Fi Networks and their configurations from a Delphi App. Don’t know what to do? Don’t be concerned. MiTec’s System Information Management Suite assists in enumerating the known Wi-Fi networks; in this blog post, we will learn how to use the MiTeC WLANC Component.
Platforms: Windows.
Installation Steps:
You can easily install this Component Suite from GetIt Package Manager. The steps are as follows.
- Navigate In RAD Studio IDE->Tools->GetIt Package Manager->select Components in Categories->Components->Trail -MiTec system Information Component Suite 14.3 and click Install Button.
- Read the license and Click Agree All. An Information dialog saying ‘Requires a restart of RAD studio at the end of the process. Do you want to proceed? click yes and continue.
- It will download the plugin and installs it. Once installed Click Restart now.
How to run the Demo app:
- Navigate to the System Information Management Suite trails setup, Demos folder which is installed during Get It installation e.g) C:UsersDocumentsEmbarcaderoStudio21.0CatalogRepositoryMiTeC-14.3DemosDelphi26
- Open the WLANC project in RAD studio 10.4.1 compile and Run the application.
- This Demo App shows how to list down the Wi-Fi networks, enumerate among them, and access their configuration properties.
Components used in MSIC WLANC Demo App:
- TMiTeC_WLANC gathers information about known Wi-Fi networks and their configurations.
- TListView to show the Known Wi-Fi Network and its properties.
- TButton to save the listed Wi-Fi Network to a .sif file and close the application.
Implementation Details:
- An Instance is created WLANC of TMiTeC_WLANC. Loop through the WLANC Record count and add the Network configurations item to the list view. List down the properties such as SSID, Key, Authentication, Encryption, Adapter Name, IP address Timestamp, etc. of each TWLANRecord item to list view subitems.
- Display the known Wi-Fi Network properties as shown below.
It’s that simple to enumerate known Wi-Fi Networks and list their configuration details for your application. Use this MiTeC component suite and get the job done quickly.
You can easily Iterate Through Known Wifi Networks On Windows Using Delphi’s IDE Software. Begin developing in C++ or Delphi environments right away.