sponsored links
Volser

4-byte 32-bit Windows binary Gets unit's serial number.

Description

"4-byte 32-bit Windows binary volume serial number Gets."
zagruzit.com Editor: 4-byte 32-bit binary volume serial number assigned to the Windows disk drive when it is formatted to provide a unique identity and almost Gets.
Do not confuse this with the volser (string name, or a hard drive manufacturer's disk serial number will be assigned at the factory.
JNI and C + + use native code.
occurs and the java JNI include its own code.

You can test with C:
CD \ com.mindprod.volser
JAVA.EXE com.mindprod.volser.Volser
and ensuring nativevolser. dll road
one in the current directory eg. YOU and the way to manually extract NATIVEVOLSER.DLL put. See http://mindprod.com/jgloss/path.html
getVolser to use your code in the class three parts:
1 is required. import,
2. To install the JNI library, a static init
3. getVolser a call to native method
ie
com.mindprod.volser.Volser imports;
static
(
/ / Get DLL loaded on the way down java.library.
System.loadLibrary ( "nativevolser");
/ / If the problem ( "E: \ \ com \ \ \ \ \ volser \ \ nativevolser.dll") to use this code mindprod
/ System.load change;
/ **
* Test harness *
* @ param
* /
public void main (String [] args)
args is not used (
/ / Need column and with the drive letter of the final backslash
final int volser = Volser.getVolser ( "C: \ \");
System.out.println drive C ( "4-byte Volume serial number is:" What is the + Integer.toHexString (volser));
))
Volser much by him, to show getVolser method other than a debugging
test harness nothing. Volser can now download free 1.1.

sponsored links

COMMENTS

Sign in or register to leave a comment.

Visitor rates

10 Star  
  21

Member rates

10 Star  
  46

Ortalama oy:

3,8

1  2  3  4  5
4.545