/// <summary>
        /// 获取设备序列号
        /// </summary>
        /// <param name="msg">输出信息</param>
        /// <returns>是否成功</returns>
        public override bool GetDevSerialNumber(out string msg)
        {
            bool res = true;
            int  st  = 0;

            byte[] serialNumber = new byte[16];
            st = ReaderDllMethod.mwDevGetSerialNumber(handle, serialNumber);
            if (st < 0)
            {
                msg = st.ToString() + "*" + ReaderDllMethod.getErrMsg(st);
                res = false;
            }
            else
            {
                msg = "1*" + Encoding.Default.GetString(serialNumber, 0, st);
            }
            return(res);
        }