摘要:
public bool FileWrite(string path,StringBuilder sb) { FileStream fs =null; StreamWriter sw=null; try { fs = new FileStream(@"c:\test.t... 阅读全文
posted @ 2009-05-26 17:02
94cool
阅读(157)
评论(0)
推荐(0)
摘要:
获取歌词并排序: ArrayList LrcArr = new ArrayList(); private void LoadLyric(string LrcStr) { string[] listArr = LrcStr.Split('\n'); Regex reg = new Regex(@"[[0-5][0-9]:... 阅读全文
posted @ 2009-05-26 17:00
94cool
阅读(248)
评论(0)
推荐(0)
摘要:
纯C#钩子(Hook)实现要实现系统钩子其实很简单,调用三个Win32的API即可。SetWindowsHookEx 用于设置钩子。(设立一道卡子,盘查需要的信息) [DllImport("user32.dll",CallingConvention=CallingConvention.StdCall)]publicstaticexternIntPtrSetWindowsHookEx(WH_Code... 阅读全文
posted @ 2009-05-26 10:28
94cool
阅读(356)
评论(0)
推荐(0)
浙公网安备 33010602011771号