摘要: //添加组件System.Management using System.Management; using System.Runtime.InteropServices; [DllImport( "Iphlpapi.dll ")] private static extern int SendARP(Int32 dest, Int32 host, ref Int64 mac, ref Int32 length); [DllImport( "Ws2_32.dll ")] private static extern Int32 inet_addr(strin 阅读全文
posted @ 2011-03-10 13:09 哑吧湖大水怪 阅读(154) 评论(0) 推荐(0) 编辑
摘要: // - 隐藏或显示任务栏 - [Start] -[DllImport("User32.dll")]public static extern IntPtr FindWindowEx(IntPtr ph, IntPtr ch, String cn, String wn);[DllImport("User32.dll")]public static extern bool ShowWindow(IntPtr hWnd, long nCmdShow);// - 隐藏或显示任务栏 - [End] -// 隐藏任务栏IntPtr handle = FindWind 阅读全文
posted @ 2011-03-10 09:02 哑吧湖大水怪 阅读(380) 评论(0) 推荐(0) 编辑