Ejemplo n.º 1
0
        private MSISDNRepository FillMSISDN()
        {
            MSISDNRepository msisdntory     = new MSISDNRepository();
            WapHeaderUtil    _WapHeaderUtil = new WapHeaderUtil();

            msisdntory.Clear();

            string msisdn = _WapHeaderUtil.MSISDN_HEADER();

            if (msisdn == "XXX-XXXXXXXX")
            {
                msisdntory.AddItem(msisdn, WapHeaderUtil.GetIPAddress(), false);
            }
            else
            {
                msisdntory.AddItem(msisdn, WapHeaderUtil.GetIPAddress());
            }
            return(msisdntory);
        }
Ejemplo n.º 2
0
        public MSISDNRepository FillMSISDN()
        {
            //HTTPService.HeaderIndexSoapClient d = new HTTPService.HeaderIndexSoapClient();
            MSISDNRepository msisdntory = new MSISDNRepository();

            msisdntory.Clear();
            string msisdn = _WapHeaderUtil.MSISDN_HEADER();

            if (msisdn == "XXX-XXXXXXXX")
            {
                msisdntory.AddItem(msisdn, WapHeaderUtil.GetIPAddress(), false);
            }
            else
            {
                msisdntory.AddItem(msisdn, WapHeaderUtil.GetIPAddress());
            }


            return(msisdntory);
        }