>>>Thanks, but .. What kind of commands or DLLs may i use?
>>>I haven't tried anything like this.
>>>
>>
>>Without knowing what you're looking for, it'd be hard to say. if you're looking for disk volume information, take a look in the File Section here on UT; there are a couple of things that will retrieve the volume id.
>
>I think the volume ID is a software ID, and i want a hardware ID, like
>a ROM data. This way, my software will be activated on each computer using a key that i can generate and which depends on the machine ID, not the hard drive.
>
There's no standard hardware ID accessible for the disk, nor is there unique information embedded in the motherboard system ROM that can reliably be referenced on a cross-manufacturer basis; that's part of the reason behind Intel's initiaitive for embedding a unique CPUID in the Pentium III processors.
IOW, there's nothing available without adding hardware yourself to the system and checking for its presense that will work on all (or even most) systems.
>Thank you.