Volser 1.0 |
| Publisher: | Canadian Mind Products |
| Screenshot: | View Screenshots |
| Size: | 516 KB |
| Platform: | Windows |
| License: | Freeware |
| Updated: | 12 May, 2008 |
| Bookmark: |
|
| User Rating: | |
| Downloaded: 44 times |
Volser Publisher's Description
Volser - Gets 32-bit binary volume serial numberGets the 4-byte 32-bit binary volume serial number of a Windows disk 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.Volser
and ensuring nativevolser.dll is on the path, e.g. in the current directory. YOU MUST MANUALLY EXTRACT NATIVEVOLSER.DLL and put it on the path. See http://mindprod.com/jgloss/path.html
To use getVolser, you need three pieces of code in your class: 1. an import, 2. a static init to load the JNI library 3. a call to the getVolser native method
i.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:\com\mindprod\volser\nativevolser.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 debugging test harness to demonstrate getVolser method.
| Cavaj Java Decompiler 1.11 Reconstructs java source from CLASS files. |
|
11/418 | ||||||
| Easy JAVA to Source Converter 1.8 Decompiles JAVA class into source code. |
|
9/185 | ||||||
| ABCNavUltimate 1.53 ABCNavUltimate! is an exciting new product t |
|
3/174 | ||||||
| Zoom-It Horizontal Version 1.0 Easy-to-use horizontal navigation menu. |
|
3/174 | ||||||
| Crossword Designer 1.0 Add java based crosswords to your website in |
|
4/172 | ||||||
| ABCCodingLibrary 1.0 Customizable code library, with built in sta |
|
2/169 | ||||||
| ActiveWidgets 2.5.0 Ajax datagrid and component library |
|
4/160 | ||||||
| Home Sellers Proceeds Calculator 2.1 Home Sellers Proceeds Calculator |
|
2/158 | ||||||
| Zoom-It Vertical Version 1.0 Easy-to-use vertical navigation menu. |
|
4/157 | ||||||
| Tito Web Studio 1.5.0.155 Tito develops JavaScript Debugger & Profiler |
|
4/154 |



