标题:获取sim卡的IMSI方法中的Line在什么命名空间???
取消只看楼主
gundumw100
Rank: 1
等 级:新手上路
帖 子:70
专家分:0
注 册:2008-1-22
 问题点数:0 回复次数:0 
获取sim卡的IMSI方法中的Line在什么命名空间???
/// <summary>
        /// 获取sim卡的IMSI
        /// </summary>
        /// <returns></returns>
        public static string GetIMSINumber()
        {
            string result = "";
            try
            {
                Tapi t = new Tapi();
                t.Initialize();
                Line l = t.CreateLine(0, LINEMEDIAMODE.INTERACTIVEVOICE, OpenNETCF.Tapi.LINECALLPRIVILEGE.MONITOR);
                ControlTapi ctapi = new ControlTapi();
                GeneralInfo gi = ctapi.GetGeneralInfo(l);
               
                result = gi.SubscriberNumber;
                l.Dispose();
                t.Shutdown();

            }
            catch// (Exception ex)
            {
                result = "";
            }

            return result;

        }
加红的Line在什么命名空间?
搜索更多相关主题的帖子: sim卡 Line IMSI 空间 获取 
2008-02-28 11:39



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-201250-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.114789 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved