static ServiceHelper() { string address = FileHelper.GetTextValue("UpdateAddress"); if (string.IsNullOrEmpty(address)) { client = new FlexServiceClient("FlexServicePort"); } else { client = new FlexServiceClient("FlexServicePort", address); } returnSerializer = new DataContractJsonSerializer(typeof(ReturnCode)); }
static ServiceHelper() { client = new FlexServiceClient("FlexServicePort"); returnSerializer = new DataContractJsonSerializer(typeof(ReturnCode)); }