Метод | Описание | |
---|---|---|
FindRandomOpenPort ( ) : int |
Finds a random open port.
|
|
IsPortBeingUsed ( int localPort ) : bool |
Determines whether the specified port is being used.
|
public static FindRandomOpenPort ( ) : int | ||
Результат | int |
public static IsPortBeingUsed ( int localPort ) : bool | ||
localPort | int | The local port. |
Результат | bool |