public string Action(string actionName, string actionParameters) { if (actionName.ToUpperInvariant() == "SETTESTMODE") { testMode = true; TL.LogMessage(clientNumber, "Action", "SETTESTMODE received: Test mode now active"); return("Test mode active"); } return(Hub.Action(clientNumber, actionName, actionParameters)); }