public override string execute(Blackfin bf, string[] args) { try { bf.SetClientConfigPort(ushort.Parse(args[0])); // Resets the IP board, always returns false for an IP connection throw new ConnectionResetException("Client connection port has been set"); } catch (FormatException) { throw new CommandArgumentException("Invalid port value"); } }