Example #1
0
 /// <summary>
 /// Removes a vanilla port by port number.
 /// </summary>
 /// <returns><c>true</c>, if vanilla port was found and removed, <c>false</c> otherwise.</returns>
 /// <param name="comp">The Computer</param>
 /// <param name="portNum">The number for the port</param>
 public static bool RemoveVanillaPort(this Hacknet.Computer comp, int portNum) =>
 comp.RemoveVanillaPort(ExeInfoManager.GetExecutableInfo(portNum));