PDA中几个常用数据取得方法

1:取得运行文件当前路径:string WorkPath = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);

2:获取电量:SystemProperty.PowerBatteryStrength

3:获取信号:SystemProperty.PhoneSignalStrength

posted @ 2010-11-06 23:24  方子  阅读(467)  评论(0编辑  收藏  举报