Ejemplo n.º 1
0
        public LameLicenceInfo GetLicense()
        {
            try
            {
                var lame_info_ = new LameLicenceInfo_();

                if (LameUtity.lame_get_licence_info_(ref lame_info_) < 0)
                {
                    return(null);
                }

                var lame_info = new LameLicenceInfo();
                lame_info.Authm   = lame_info_.Authm;
                lame_info.Data    = lame_info_.Data;
                lame_info.Date    = lame_info_.Date;
                lame_info.Owner   = lame_info_.Owner;
                lame_info.Version = lame_info_.Version;

                return(lame_info);
            }
            catch (Exception)
            {
                //throw e;
            }

            return(null);
        }
Ejemplo n.º 2
0
 public static extern int lame_get_licence_info_(ref LameLicenceInfo_ license);