Product Details

Volser 1.2 Build 9431

 

Advertisement


Gets the 4-byte 32-bit binary volume serial number of a Windowsdisk drive assigned when it is formatted to provide and almost unique id.
Volser is a free to try software. You can free download and try it for an evaluation period.


 

Gets the 4-byte 32-bit binary volume serial number in Windows.

Gets the 4-byte 32-bit binary volume serial number of a Windowsdisk drive assigned when it is formatted to provide and almost unique id.Don't confuse this with the volser(, the string name,or the manufacturer's disk serial number assigned to a hard drive at the factory.Uses JNI and C++ native code.Consists of java and JNI you include in your own code.You can test with C: CD com.mindprod.volser java.exe com.mindprod.volser.Volserand ensuring nativevolser.dll is on the path, e.g. in thecurrent directory. YOU MUST MANUALLY EXTRACTNATIVEVOLSER.DLL and put it on the path. Seepath in the Java glossary.To use getVolser, you need three pieces of code in yourclass:1. an import,2. a static init to load the JNI library3. a call to the getVolser native methodi.e. import com.mindprod.volser.Volser; ... static { // get DLL loaded from somewhere on java.library path. System.loadLibrary( "nativevolser" ); // if have troubles change this code to use // System.load( "E:commindprodvolsernativevolser.dll" ); /** * test harness * * @param args not used */ public static void main( String[] args ) { // Needs drive letter with colon and trailing backslash final int volser = Volser.getVolser( "C:" ); System.out.println( "4-byte Volume serial number for drive C: is " + Integer.toHexString( volser ) ); } }Volser does nothing much by itself, other than a debuggingtest harness to demonstrate getVolser method.

(512k) 02 s
(1Mb) < 1 sec
(2Mb) < 1 sec
(5Mb) < 1 sec
(10Mb) < 1 sec

User Reviews: VOLSER 1.2 BUILD 9431
 * 
 * 
     
 * 
 
a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z