摘要: public class Net { [DllImport("wininet")] private extern static bool InternetGetConnectedState(out int connectionDescription, int reservedValue); /// 阅读全文
posted @ 2018-06-16 10:10 兰博丶专属 阅读(739) 评论(2) 推荐(0) 编辑
摘要: public partial class Form1 : Form { #region u盘属性 public const int WM_DEVICECHANGE = 0x219;//U盘插入后,OS的底层会自动检测到,然后向应用程序发送“硬件设备状态改变“的消息 public const int DBT_DEVICEARRIVAL... 阅读全文
posted @ 2018-06-16 10:03 兰博丶专属 阅读(2781) 评论(2) 推荐(0) 编辑