List Network Adapter Information

Returns a list of network adapters and information.



Input Parameters

None required.

Output Parameters

Name Type Description
Network Adapters Collection

A list of network adapters with each adapter containing the following information:

  • DeviceId
  • AdapterType
  • Description
  • NetConnectionId
  • ProductName
  • ServiceName
  • Index
  • DNSHostName
  • Caption
  • ConfigurationDescription
  • IPAddress
  • DHCPEnabled
  • DefaultGateway
  • DNSServerSearchOrder
  • WINSPrimaryServer
  • WINSSecondaryServer
  • macaddress
  • DNSDomainSuffixSearchOrder
Result Number

Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

No input parameters required.