Overview
This example uses system calls to gather IP information of the computer the program is running on.
Description
This example uses system calls to gather IP information of the computer the program is running on. It does return information for all currently installed network adapters including their MAC address, status, and data traffic Special measures are taken for error handling as well as how to decode the network information.The code uses call library function nodes to access the Win API kernel32 for network information. The information is first checked to make sure it fills a specific buffer size. The information is then decoded by shifting High Bytes with low bytes as well as another call to the Win API. This code takes advantage of LabVIEW’s ability to run DLLs from other programming environments.
Requirements
Software:
- LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
1. Run VI.
2. Observe the network card information.
Additional Information or Resources



**This document has been updated to meet the current required format for the NI Code Exchange