- 博客(3)
- 资源 (4)
- 收藏
- 关注
原创 拔插磁盘相关(C#)
using System.Runtime.InteropServices; /// /// 界面相关基础处理,获取插入或拔出的移动磁盘以及对应磁盘的卷标,剩余空间大小,磁盘是否为数据卡 /// public class BaseClass { /// /// 插入或拔出前磁盘列表
2012-07-18 09:35:05 265
转载 INI读写(C#)
using System.Runtime.InteropServices; #region 读写INI [DllImport("kernel32")]//INI读取 private static extern int GetPrivateProfileString(string section, string key, string def, Stri
2012-07-18 09:29:46 158
原创 IP和端口判断(C#)
#region ip和port 有效性判断 /// /// ip的有效性 /// /// IP /// public bool IP_YN(String ip) { bool YN = false; if (Syst
2012-07-18 09:23:50 833
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人