摘要:
本文是对Win7(64)+VS2010+WDK7.1.0(WinDDK\7600.16385.1)开发驱动的小结。一、系统工具1、Win7(amd64位)系统注:已装系统后,管理员身份运行cmd命令,查看bcdedit/settestsigningtrue、bcdedit/debugon等命令是否运... 阅读全文
摘要:
驱动开发参考文章:Windbg+Vmware驱动调试 http://blog.csdn.net/xuepiaosong/article/details/8236702驱动调试攻略(WinDbg) http://blog.163.com/zhg_tao/blog/static/84116744200... 阅读全文
摘要:
//获取启动了应用程序的可执行文件的路径,不包括可执行文件的名称。 string str5=Application.StartupPath; //可获得当前执行的exe的文件名。 string str1 =Process.GetCurrentProcess().... 阅读全文
摘要:
1、获取Mac地址//WiFi通知回调 private WlanApi.WLAN_NOTIFICATION_CALLBACK _notificationCallback;this._notificationCallback = new WlanApi.WLAN_NOTIFICATION... 阅读全文
摘要:
1、将对象序列化为二进制值,供WebBrowser传值: private static byte[] PostDataToBytes(Data postData) { JavaScriptSerializer jsonSerializer = new... 阅读全文
摘要:
一、直接写入文件 /// /// 将message的内容写入日志文件 /// /// public static void WriteLog(string msg) { string path = Ap... 阅读全文
摘要:
一、通过系统事件1、实现如下:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms;using System.Threading;usi... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Windows.Forms;namespace MyWifi{ public class ListBoxLogs { p... 阅读全文
摘要:
写的一个简单启动关闭WiFi的类:具体如下using System;using System.Collections.Generic;using System.Text;using System.Diagnostics;namespace MyWifi{ public class WiFi ... 阅读全文
摘要:
1、在工具栏中添加菜单项。如下:在bar1工具栏中添加菜单项this.barButtonMenuItem(包含图标)this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { //n... 阅读全文