C#利用win32 Api 修改本地系统时间、获取硬盘序列号,可以用于软件注册机制的编写!
代码如下:
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace Fengyun
{
public class Win32
{
#region 修改本地系统时间
[DllImport(“Kernel32.dll”)]
private extern static vo