TestimoX

API Reference

Class

TcpConnectionInfo

Namespace ComputerX.Ports
Assembly ComputerX
Modifiers sealed

Describes a single TCP connection including local/remote endpoints and optional owning process information.

Inheritance

  • Object
  • TcpConnectionInfo

Constructors

public TcpConnectionInfo() #

Properties

public String ComputerName { get; set; } #

Name of the computer the connection belongs to.

public IPEndPoint LocalEndPoint { get; set; } #

Local endpoint (IP and port).

public IPEndPoint RemoteEndPoint { get; set; } #

Remote endpoint if any; may be null for LISTEN state.

public String State { get; set; } #

TCP state as a string (e.g., ESTABLISHED, LISTEN).

public Int32 ProcessId { get; set; } #

Owning process identifier (0 if unknown or not available).

public String ProcessName { get; set; } #

Optional process executable name, when resolvable.