如题,主要是想知道如何得到一个程序的安装时间然后去算这个程序用了多少天,如果超出设定的天数就提示需要注册.....
解决方案 »
- C#定义了一个int[] buff,那么ref buff[0]代表什么
- 关于 写入文件加锁
- winform中的combox赋值问题
- 关于c#截屏问题
- 急切问题————在线等待
- 誰有貿易系統的源代碼?合適的話可以出錢購買?vb/vb.net/c#都可以
- 窗体连接到水晶报表的问题急?
- 求助 一个sql转换成lambda
- 简单小问题!错误 13 未能找到类型或命名空间名称“Feature”(是否缺少 using 指令或程序集引用?)
- WebForm我全部动态产生一个datagrid,怎么加入按钮列,还有怎么取得它的事件?我昨天研究了一天,没什么突破,我查找了以前的帖子,没发现
- 各位大虾,一个list[]数组。我想取出其中list[2]的最后一个元素。该怎么写?代码如下
- 关于DTATSET的问题
或写入XML等配置文件
Data type: string
Access type: Read-only
Starting with Windows XP this property is no longer supported for Win32_Product. Instead, use the InstallDate2 property, which is in the WMI CIM_DATETIME format.Windows 2000: Date that this product is installed on the system. This property does not need a value to indicate that the object is installed.
InstallDate2
Data type: datetime
Access type: Read-only
Date that this product was installed on the system. This property does not require a value to indicate that the object is installed. For more information about WMI dates and times, see Date and Time Format.Windows 2000: This property is not available.http://msdn.microsoft.com/en-us/library/aa394378(VS.85).aspx
2.如果写入注册表后,用户试用期到删除该键,再卸载程序再重装.好像还是可以继续试用.