Skip to content

dos_nicinfo

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Returns detailed information on the system's network adapters.

Syntax

(dos_nicinfo)

Returns

A list containing one or more sublists describing the details of each network adapter if successful. The information returned in each sublist is as follows:

Element Description
0 The adapter's unique name.
1 The adapter's friendly name.
2 The adapter's description, or manufacturer/make/model.
3 The adapter's MAC address.
4 The adapter type (e.g. Ethernet, Token Ring, etc.).
5 The adapter's IP address.
6 The adapter's subnet mask.
7 The adapter's gateway address.
8 The adapter's address type, either DHCP or Fixed.

nil on error.

Example

Command: (dos_nicinfo)
(("{914DECA6-4DDC-4FEE-92DC-B36EA7BE2DAD}" "Wireless Network Connection 2" "Microsoft Virtual WiFi Miniport Adapter" "00:24:2C:49:D5:F1" "UNKNOWN" "0.0.0.0" "0.0.0.0" "0.0.0.0" "DHCP") ("{C12C38A5-8225-422E-8D46-F6FF46902FD0}" "Local Area Connection 2" "TAP-Win32 Adapter V9" "00:FF:C1:2C:38:A5" "ETHERNET" "0.0.0.0" "0.0.0.0" "0.0.0.0" "DHCP") ("{FA0586CA-CC81-4C08-9226-4C77D6203C4C}" "Wireless Network Connection" "Dell Wireless 1397 WLAN Mini-Card" "00:24:2C:49:D5:F1" "UNKNOWN" "192.168.1.110" "255.255.255.0" "192.168.1.1" "DHCP") ("{6C2A5A61-CA16-4DDC-AEE7-41ABB3326CF3}" "Local Area Connection" "Intel(R) 82567LM Gigabit Network Connection" "00:21:70:F9:0D:4E" "ETHERNET" "0.0.0.0" "0.0.0.0" "10.67.30.1" "DHCP"))

Clone this wiki locally