PDA/Mobile Free Downloads

Volser 1.1 Icon  Volser 1.1

"gets 32-bit binary volume serial number"

 
Popularity: Popularity: 89.9% 89.9%
User Ratings: Not rated yet! Be the first! 0 votes
Your Rating:
Bookmark: Add Volser 1.1 to Your Favorites/Bookmarks
Volser 1.1 Screenshot
 
Downloads: Total: 88  |  Last 7 days: 2
Publisher: Canadian Mind Products  |  View 82 other products
OS: Java  
Also available for: Windows  |  Mac  |  Linux  
Release Status: New Release 
Install Support: No Install Support 
License: Freeware
Size: 549 KB
Release Date: 9/23/2008  |  Version History
Date Added: 1/5/2008
Last Update: 10/4/2008
 
Volser Publisher's Description
Gets 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. Now, go ahead and free download Volser.
System Requirements
Java 1.1+
Related Tags
volser , java , classes , volume serials number , volser , web development , java & javascript
Do not use cracks, passwords, serial numbers, registration codes, and key generators, because they are illegal and they prevents further software development. If you like and need this software, you should buy it.
 
Quick Search