Network:getConfig

Method

Purpose

This method (on Microsoft Windows) returns network configuration information on a per-interface basis in a manner similar to that returned by the ifconfig command.

Type

Open, Synchronous, IMPACT_INFO.

Arguments

 

Name

Type

Description

 

String

Name of Network Adapter

Returns

 

Name

Type

Description

 

String

Name of Network Adapter

Network Address

String

Network Address in dotted format, 32 bit Value

Hardware Address

String

Hardware Address in colon format

Description

String

Description of Network Interface

Network Mask

String

Network Mask in dotted format, 32 bit Value

MTU

String

 

RX Bytes

Integer

Number of octets of data received through the interface

RX Packets

Integer

The number of packets received through the interface

RX Errors

Integer

The number of incoming packets that were discarded because of errors.

RX Dropped

Integer

The number of incoming packets that were discarded even though they did not have errors.

TX Bytes

Integer

The number of octets of data sent through this interface.

TX Packets

Integer

The number of unicast packets sent through this interface.

TX Errors

Integer

The number of outgoing packets that were discarded because of errors

TX Dropped

Integer

The number of outgoing packets that were discarded even though they did not have errors