private void GetServerData()
        {
            try
            {
                SvrProcessData = new List <ProcessItem>();
                if (ApplicationConfig.Mode == "D")
                {
                    SvrProcessData.Add(new ProcessItem()
                    {
                        ProcessName = "ScanStation", ProcessPath = "C:\\Minervasoft\\ScanStation\\Publish\\ScanStation.exe", ReqArguments = "job;mode;"
                    });
                    Status = LauncherRunStatus.IsRuning;
                }
                else
                {
                    var resource = WebClientHelper.WebClientReadFile(ApplicationConfig.ServerProcessFilePath);

                    if (string.IsNullOrEmpty(resource) == false)
                    {
                        SvrProcessData = JsonHelper.JsonDeserizlizer <List <ProcessItem> >(resource);
                        Status         = LauncherRunStatus.IsRuning;
                    }
                    else
                    {
                        Status = LauncherRunStatus.Error;
                    }
                }
            }
            catch (Exception ex)
            {
                Status = LauncherRunStatus.Error;
                throw ex;
            }
        }
        private bool GetServerData()
        {
            try
            {
                // 개발자모드일경우 호출X
                if (ApplicationConfig.Mode == "D")
                {
                    stateMessage = "";
                    OnStatusUpdate("GetServerData", PublishProcessStatus.Service_True);
                }
                else
                {
                    var resource = WebClientHelper.WebClientReadFile(ApplicationConfig.ServerPublishFilePath);

                    if (string.IsNullOrEmpty(resource))
                    {
                        stateMessage = "";
                        OnStatusUpdate("GetServerData", PublishProcessStatus.Service_False);
                    }
                    else
                    {
                        SyncResourceData.ServerPublishRelease = resource;
                        SyncResourceData.ServerConfig         = JsonHelper.JsonDeserizlizer <PublishData>(resource);
                        OnStatusUpdate("GetServerData", PublishProcessStatus.Service_True);
                    }
                }
            }
            catch (Exception ex)
            {
                OnStatusUpdate("GetServerData", PublishProcessStatus.Fail, ex.Message);
            }

            return(GetSyncStatusBoolean());
        }