private void GetVersion() { if (this.accountService == null) { return; } try { string ver = accountService.GetCurrentVersion(); Console.WriteLine("Version>>>>>>>>>>>>>>>>" + ver); AppState.Instance.GrpcServerVersion = ver; AppState.Instance.RPC_RUNNING = true; } catch { AppState.Instance.RPC_RUNNING = false; } }