Example #1
0
        public string translateCodeToBin(string strCode)
        {
            CodeSpecType cs = new CodeSpecType();

            cs.CodeString = strCode;
            cs.TagLength  = "96";

            CodeResultType[] cr = clsSvr.translateTagIdToBin(new CodeSpecType[] { cs });

            Console.WriteLine(cr[0].ResultString);

            return(cr[0].ResultString);
        }
Example #2
0
        public string translateHexaToCode(string strHexCode)
        {
            CodeSpecType cs = new CodeSpecType();

            cs.CodeString = strHexCode;
            cs.TagLength  = "96";

            CodeResultType[] cr = clsSvr.translateHexaToCode(new CodeSpecType[] { cs });

            Console.WriteLine(cr[0].ResultString);

            return(RemoveCode(cr[0].ResultString));

            //return "";
        }