/// <summary> /// Loads the static varable serviceAgent with the processAgent's ProcessAgent data. /// </summary> /// <returns></returns> public static bool RefreshServiceAgent() { ProcessAgentDB padb = new ProcessAgentDB(); ProcessAgent tmp = padb.GetSelfProcessAgent(); serviceAgent = tmp; return (tmp != null); }