InteropHelpersGetProcessIdFromListeningPort Method
Get the process id of the process that is listening on the given port.
Namespace: SuperBuilderWinService.UtilsAssembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+e5af843a4e6a75a047681ce8b5d33ceb3660e546
public static int? GetProcessIdFromListeningPort(
int port,
ILogger? logger = null
)
public:
static Nullable<int> GetProcessIdFromListeningPort(
int port,
ILogger^ logger = nullptr
)
SuperBuilderWinService.Utils.InteropHelpers.GetProcessIdFromListeningPort = function(port, logger);
- port Int32
- port number
- logger ILogger (Optional)
- logger
NullableInt32process id or null if no process is listening on the port