Sign in to follow this  
Followers 0
PoojaKrishna

Unique-ID

4 posts in this topic

Hai friends,

Is this string unique for a system

$array=StringSplit ( @WindowsDir, ":\" ,1 )

msgbox(0,"",DriveGetSerial($array[1]&":\"))

Please reply

Pooja

Share this post


Link to post
Share on other sites



yep should be, hdd serials are usually unique

Share this post


Link to post
Share on other sites

Although the serial very well may be unique. The unfortunate side of it, is that if your program is cloned in a virtual environment, it will not help your cause any (As the information will still be all the same).

Something you need to look for is the UUID (Universally Unique Identifier). The only downside to that, is currently only WMI offers a "simple" solution, and it may or may not be active on someones PC to use it.

There are alternatives out there (Using Hi/Low Bios times), but I've yet to be able to translate them to an easy format using AutoIt.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Thanks friends for your responds

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0