Volser Icon

Volser

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

VolserOverview

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.

NEW

Fixed some bugs.

VolserInformation

Version
1.2
Date
11.10.10
License
Free
Language
English
File Size
597KB
Category
Operating Systems
Windows XP, 2000, 98
System Requirements
No additional system requirements.
Replicator Icon
The Replicator lets you distribute large numbers of files to many people.
Free
CanadianTax Icon
Calculates Canadian sales taxes: GST HST and PST today or in the past.
Free
CurrCon Icon
CurrCon displays prices in HTML in users' home currency.
Free
FourTidy Icon
Tidies Take Command/TCC/4NT/4DOS DESCRIBE file descriptors
Free
Untouch Icon
Reverts files dates back if the files have not really changed.
Free
BlOut Icon
Blout removes extra blank lines from a file.
Free
Dedup Icon
Java command line utility to removes duplicate lines from text files.
Free
Pluck Icon
Scans multiple files looking for a REGEX pattern, and summarised what it finds.
Free
More
exe4j Icon
Exe4j is a Java exe maker.
Demo
In Class Translator Icon
A program to edit class files in jar (JAVA) softwares and game!
Free
Visual Paradigm for UML (CE) for Windows Icon
UML Tool - UML diagrams, use case modeling, reverse engineering and more...
Free
Java SE Development Kit Icon
Build highly sophisticated applications, applets, and components using the Java programming language.
Free
Executable Jar Maker Icon
Turn java source files to executable jar files.
Free
Java SE Development Kit (64-Bit) Icon
Compile, debug, and run Java applications on your computer.
Free
JDecompiler (Java Decompiler) Icon
A small tool to decompile the java class use your favorite text editor.
Trial
Executor Icon
Executor turns your jar file into a Windows executable.
Trial
More