Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
CodeDelphiTech Partner

Ultimate Component Suite To Easily Detect The Network Adapters In Your Windows Apps

networkadapterfimage


Do you need to access Network Adapter information from your Delphi applications? Detecting the available network adapters information is no longer a challenging task. MiTec’s System Information Management Suite’s component helps to detect the network adapters easily, and we will learn how to use TMiTeC_Network and TMiTeC_TCPIP components in this blog post.

Platforms: Windows.

Installation Steps:  

You can easily install this Component Suite from GetIt Package Manager. The steps are as follows.

  1. 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.
  2. 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.
  3. 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.3DemosDelphi17
  • Open the IntfList  project in RAD studio 10.4.1 compile and Run the application.
  • This Demo App shows how to detect the Network Adapters and its properties such as Interface, IPAddress, MACAddress etc.

Components used in MSIC IntfList Demo App:

networkadapterprops 4617832
<strong>TMiTeC Network Properties<strong>
  • TMiTeC_Network: Retrieves network environment information. Using this component, we can access Network resources and WinSock properties.
  • TMiTeC_TCPIP: Enumerates network adapters, their properties and network configuration.
  • TListView To list down the list of detected TCPIP Network Adapters.

Implementation Details:

  • An instance  FNetwork of TMiTeC_Network is created. Loop through the TCPIP.AdapterCount property to detect the available network adapters. For each TCPIP.Adpater record list down the properties such as Interface Name, IPAddress, IPAddressMask, Address, Typ, OperStatus, AdminStatus, Speed in the list view.
networksadapterdemo 7193072
<strong>MiTeC Network Demo<strong>
  • On Double clicking a selected row, the interface properties were shown in the child form.
networkadapterproperty 1524333
<strong>Network Ethernet Adapter Property<strong>

It’s that simple to enumerate a list of network adapters and their properties available on your machine from your Delphi application. Use this MiTeC component suite and get the job done quickly.

Head over and check out the full MiTec System Information Management Suite for Access System Information for Windows in Delphi Applications

With the use of a Windows IDE, you can easily detect the network adapters in your windows apps with a component suite. Try your Free Trial here.

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES