C# Class Wix.SonarQube.TCPPortHelper

[TODO] Lookup for the next available port and return that to the caller.
Afficher le fichier Open project: SonarQubeCommunity/sonarqube-windows-installer

Méthodes publiques

Méthode Description
EnablePortForFirewall ( string ruleName, int portNumber ) : bool

Creates rule in firewall settings to enable the port.

IsPortAvailable ( int portNumber ) : bool

Checks if the given port is free to use or not.

Method Details

EnablePortForFirewall() public static méthode

Creates rule in firewall settings to enable the port.
public static EnablePortForFirewall ( string ruleName, int portNumber ) : bool
ruleName string
portNumber int
Résultat bool

IsPortAvailable() public static méthode

Checks if the given port is free to use or not.
public static IsPortAvailable ( int portNumber ) : bool
portNumber int
Résultat bool