C# Class Stumps.NetworkInformation

Mostrar archivo Open project: Cayan-LLC/stumps Class Usage Examples

Public Methods

Method Description
FindRandomOpenPort ( ) : int

Finds a random open port.

IsPortBeingUsed ( int localPort ) : bool

Determines whether the specified port is being used.

Method Details

FindRandomOpenPort() public static method

Finds a random open port.
public static FindRandomOpenPort ( ) : int
return int

IsPortBeingUsed() public static method

Determines whether the specified port is being used.
public static IsPortBeingUsed ( int localPort ) : bool
localPort int The local port.
return bool