所属分类:
磁盘编程
开发工具:Java
文件大小:63KB
下载次数:119
上传日期:2008-06-19 21:52:38
说明: 本程序是用JNI技术实现的读取硬盘序列号
将ChenminDiskIDJoc.jar 加入环境变量
这两个文件放入window 文件夹 或者JDK的bin文件夹 或者你的应用文件夹
DiskID32.dll
DiskID.dll
public static String chenmin.io.DiskID.Factory() 返回硬盘厂家
public static String chenmin.io.DiskID.DiskID() 返回硬盘序列号
ChenminDiskIDTest.bat 将启动直接演示一个读取硬盘序列号的测试
测试读取硬盘序列号的源代码在ChenminDiskIDTest.jar中
(This procedure is used JNI technology to read the hard drive serial number will join the environment variable ChenminDiskIDJoc.jar the two documents Add folder window or JDK s bin folder or your application folder DiskID32.dllDiskID.dll public static String chenmin . io.DiskID.Factory () to return to the hard disk manufacturers public static String chenmin.io.DiskID.DiskID () to return to the hard disk serial number ChenminDiskIDTest.bat will launch a direct demonstration of a hard drive serial number to read the test to test the hard disk to read the serial number of the source code in ChenminDiskIDTest.jar)
文件列表:
ChenminDiskIDJoc.jar
ChenminDiskIDTest.bat
ChenminDiskIDTest.jar
DiskID.dll
DiskID32.dll