K3

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 ··· 9 下一页

2014年3月6日

摘要: http://stackoverflow.com/questions/3571627/show-hide-the-console-window-of-a-c-sharp-console-application using System.Runtime.InteropServices;[DllImport("kernel32.dll")]static extern IntPtr GetConsol... 阅读全文
posted @ 2014-03-06 12:02 K3 阅读(278) 评论(0) 推荐(0) 编辑

2014年3月4日

摘要: using System; using System.Collections.Generic; using System.IO; using System.Text; namespace ConsoleApplication5 { class Program { static void Main(string[] args) ... 阅读全文
posted @ 2014-03-04 16:26 K3 阅读(304) 评论(0) 推荐(0) 编辑

2014年2月25日

摘要: ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_Product"); foreach (ManagementObject wmi in searcher.Get()) { wmi.GetPropertyValue("Name"... 阅读全文
posted @ 2014-02-25 13:49 K3 阅读(167) 评论(0) 推荐(0) 编辑

2014年2月21日

摘要: http://msdn.microsoft.com/en-us/library/hh266706(v=VS.110).aspx 阅读全文
posted @ 2014-02-21 12:02 K3 阅读(143) 评论(0) 推荐(0) 编辑

2014年1月28日

摘要: 32位 64位 阅读全文
posted @ 2014-01-28 21:01 K3 阅读(281) 评论(0) 推荐(0) 编辑

2014年1月23日

摘要: 1. WINRAR版本 2. 将所有文件放在同一个文件夹下 3. 选中所有文件点击右键 -> Add to archive 4. General设置 5. Advanced 设置 6. 确定开始制作安装文件 7. 制作完成 阅读全文
posted @ 2014-01-23 23:16 K3 阅读(243) 评论(0) 推荐(0) 编辑

2014年1月13日

摘要: // This sample demonstrates the use of the WindowsIdentity class to impersonate a user. // IMPORTANT NOTES: // This sample requests the user to enter a password on the console screen. // Because the console window does not support methods allowing the password to be masked, // it will be visible to 阅读全文
posted @ 2014-01-13 13:43 K3 阅读(372) 评论(0) 推荐(0) 编辑

2013年12月3日

摘要: http://msdn.microsoft.com/en-us/library/aa384906(v=vs.85).aspxHKEY_LOCAL_MACHINE = &H80000002strComputer = "."Set ObjRegistry = _ GetObject("winmgmts:{impersonationLevel = impersonate}!\\" _ & strComputer & "\root\default:StdRegProv")strPath = "SOFTWARE 阅读全文
posted @ 2013-12-03 17:42 K3 阅读(211) 评论(0) 推荐(0) 编辑

2013年9月17日

摘要: CREATE DEFINER=`root`@`localhost` PROCEDURE `getData`(deviceName varchar(45),startTime datetime,endTime datetime)BEGINset @s1 = concat('SELECT * FROM ', deviceName , ' where view_time between ''' , startTime , ''' and ''' , endTime ,''' ;&# 阅读全文
posted @ 2013-09-17 15:56 K3 阅读(261) 评论(0) 推荐(0) 编辑

2013年9月4日

摘要: public class Program { static void Main(string[] args) { var alarm = new Alarm() { Code = "1588-OPER-2", Grade = "1", Source = "55A3E6C7E2A0560A956D3933F42E5AA2", Time = DateTime.Now, Te... 阅读全文
posted @ 2013-09-04 11:37 K3 阅读(559) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 9 下一页