Example #1
0
 /// <summary>
 /// Determines whether the vanilla port is open.
 /// </summary>
 /// <returns><c>true</c>, if the port exists and is open, <c>false</c> otherwise.</returns>
 /// <param name="comp">The Computer</param>
 /// <param name="portNum">The port number to search by</param>
 public static bool IsVanillaPortOpen(this Hacknet.Computer comp, int portNum) =>
 comp.IsVanillaPortOpen(ExeInfoManager.GetExecutableInfo(portNum));