示例#1
0
 public bool IsRunning(int timeout = 60000)
 {
     return(PortProbe.IsPortOpen(hostname, port, millisTimeout: timeout));
 }
示例#2
0
 public bool IsStopped()
 {
     return(PortProbe.IsPortClosed(hostname, port, millisTimeout: 10000));
 }