Security

I would like to fetch CPU id. Could i get any algorithm to Fetch.
[72 byte] By [Raghavaa] at [2007-10-2 17:36:55]
# 1

> I would like to fetch CPU id. Could i get any

> algorithm to Fetch.

I wouldn't call it an algorithm. Anyway, in pure Java, you can't. System properties you can get from Java are these:

http://java.sun.com/docs/books/tutorial/essential/system/properties.html

What you could do is write some C code (probably with some Assembly in it as well) that get's the processor ID and call that code from Java through the JNI. A JNI tutorial can be found here:

http://java.sun.com/j2se/1.5.0/docs/guide/jni/

Good luck.

prometheuzza at 2007-7-13 18:54:14 > top of Java-index,Other Topics,Algorithms...