TestimoX

API Reference

Class

Network

Namespace ComputerX.Network
Assembly ComputerX
Modifiers static

High‑level accessors for network inventory on a machine (adapters and addressing).

Inheritance

  • Object
  • Network

Methods

public static List<NetworkAdapterInfo> Get(String computer = null) #
Returns: List<NetworkAdapterInfo>

Gets network adapter information for the specified computer.

Parameters

computer System.String = null optionalposition: 0
Target host name or null for local.
public static Task<List<NetworkAdapterInfo>> GetAsync(String computer = null, Nullable<TimeSpan> timeout = null, CancellationToken ct = null) #
Returns: Task<List<NetworkAdapterInfo>>

Asynchronously gets network adapter information for the specified computer.

Parameters

computer System.String = null optionalposition: 0
Target host name or null for local.
timeout System.Nullable{System.TimeSpan} = null optionalposition: 1
Optional timeout.
ct System.Threading.CancellationToken = null optionalposition: 2
Cancellation token.