Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
 static ServiceHelper()
 {
     client           = new FlexServiceClient("FlexServicePort");
     returnSerializer = new DataContractJsonSerializer(typeof(ReturnCode));
 }