473,395 Members | 1,341 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Determine USB HDD Serial Number (NOT Volume Serial!)

Hi all! I'm sure many of you rolled your eyes at the subject trying to
recall how many times youv'e heard this question. :) But bear with
because I THINK my question is at least slightly different from the
typical post.

I would like to obtain the manufactuer's embedded serial number (NOT
the volume serial that changes with each format) of USB drives. I
found some very handy code to obtain a regular SMART-enabled IDE
drive's information in VB6 here:

http://vbnet.mvps.org/index.html?code/disk/smartide.htm

However, when I run that code, it does not give me any information
about, say, a flash drive that is connected to my USB port. Do all USB
drives (both external hard drives with movable parts as well as flash
memory drives) have an embedded serial number that can be accessed? If
so, how can I obtain that information in Visual Basic .NET? In not
VB.NET, how about any other language?

My ultimate goal is to be able to give out some USB thumb drives or
external hard drives and be able to uniquely track them. ANY thoughts
towards my goal would be greatly appreciated. Thank you!

Matthew

Jun 19 '07 #1
6 10458
On Jun 19, 1:37 pm, Matthew Connor <con...@gmail.comwrote:
Hi all! I'm sure many of you rolled your eyes at the subject trying to
recall how many times youv'e heard this question. :) But bear with
because I THINK my question is at least slightly different from the
typical post.

I would like to obtain the manufactuer's embedded serial number (NOT
the volume serial that changes with each format) of USB drives. I
found some very handy code to obtain a regular SMART-enabled IDE
drive's information in VB6 here:

http://vbnet.mvps.org/index.html?code/disk/smartide.htm

However, when I run that code, it does not give me any information
about, say, a flash drive that is connected to my USB port. Do all USB
drives (both external hard drives with movable parts as well as flash
memory drives) have an embedded serial number that can be accessed? If
so, how can I obtain that information in Visual Basic .NET? In not
VB.NET, how about any other language?

My ultimate goal is to be able to give out some USB thumb drives or
external hard drives and be able to uniquely track them. ANY thoughts
towards my goal would be greatly appreciated. Thank you!

Matthew
Depending on the quantity you are handing out, you can assign a
product ID or some other marker to each program uniquely IDing it. If
you have any interactivity with webservices you could possibly
HTTPRequest the information to a single URL hit transmitting some type
of My.Application.Info creating some type of iteration or log system
via the web.

Jun 19 '07 #2
Depending on the quantity you are handing out, you can assign a
product ID or some other marker to each program uniquely IDing it. If
you have any interactivity with webservices you could possibly
HTTPRequest the information to a single URL hit transmitting some type
of My.Application.Info creating some type of iteration or log system
via the web.- Hide quoted text -
Hi! Thanks so much for your input! Unfortunately, I still need to go
the original route for reasons I did not lay out in the original post.
It's an attempt at an anti-piracy mechanism to keep people from
copying the software to another disk...so I need a fixed, reliable
number on the drive itself.

Thanks again!

Matthew

Jun 19 '07 #3
On Jun 19, 2:35 pm, Matthew Connor <con...@gmail.comwrote:
Depending on the quantity you are handing out, you can assign a
product ID or some other marker to each program uniquely IDing it. If
you have any interactivity with webservices you could possibly
HTTPRequest the information to a single URL hit transmitting some type
of My.Application.Info creating some type of iteration or log system
via the web.- Hide quoted text -

Hi! Thanks so much for your input! Unfortunately, I still need to go
the original route for reasons I did not lay out in the original post.
It's an attempt at an anti-piracy mechanism to keep people from
copying the software to another disk...so I need a fixed, reliable
number on the drive itself.

Thanks again!

Matthew
Certainly possible through the route I explained. With the software
"checking in" during an initailize state you could send an Internet
HTTPRequest to check your end for use. No internet check no use.
Once it has been checked, the same ID gets no access and a big NO-NO
message.
Jun 19 '07 #4
what happens if the software is on a RAID array? just wondering...

"Matthew Connor" <co****@gmail.comwrote in message
news:11**********************@o61g2000hsh.googlegr oups.com...
>Depending on the quantity you are handing out, you can assign a
product ID or some other marker to each program uniquely IDing it. If
you have any interactivity with webservices you could possibly
HTTPRequest the information to a single URL hit transmitting some type
of My.Application.Info creating some type of iteration or log system
via the web.- Hide quoted text -

Hi! Thanks so much for your input! Unfortunately, I still need to go
the original route for reasons I did not lay out in the original post.
It's an attempt at an anti-piracy mechanism to keep people from
copying the software to another disk...so I need a fixed, reliable
number on the drive itself.

Thanks again!

Matthew

Jun 19 '07 #5
Matthew Connor schreef:
>Depending on the quantity you are handing out, you can assign a
product ID or some other marker to each program uniquely IDing it. If
you have any interactivity with webservices you could possibly
HTTPRequest the information to a single URL hit transmitting some type
of My.Application.Info creating some type of iteration or log system
via the web.- Hide quoted text -

Hi! Thanks so much for your input! Unfortunately, I still need to go
the original route for reasons I did not lay out in the original post.
It's an attempt at an anti-piracy mechanism to keep people from
copying the software to another disk...so I need a fixed, reliable
number on the drive itself.

Thanks again!

Matthew
Aladdin has a hardlock that's also a flashdrive which you can split into
a part that shows as a CD and a part as flash.
http://aladdin.com/HASP/srm-protection-keys.asp
Then look at the HASP HL Drive.
--
Rinze van Huizen
C-Services Holland b.v
Jun 20 '07 #6
On Jun 19, 11:37 pm, Matthew Connor <con...@gmail.comwrote:
Hi all! I'm sure many of you rolled your eyes at the subject trying to
recall how many times youv'e heard this question. :) But bear with
because I THINK my question is at least slightly different from the
typical post.

I would like to obtain the manufactuer's embeddedserialnumber (NOT
the volumeserialthat changes with each format) ofUSBdrives. I
found some very handy code to obtain a regular SMART-enabled IDE
drive's information in VB6 here:

http://vbnet.mvps.org/index.html?code/disk/smartide.htm

However, when I run that code, it does not give me any information
about, say, a flash drive that is connected to myUSBport. Do allUSB
drives (both external hard drives with movable parts as well as flash
memory drives) have an embeddedserialnumber that can be accessed? If
so, how can I obtain that information in Visual Basic .NET? In not
VB.NET, how about any other language?

My ultimate goal is to be able to give out someUSBthumb drives or
external hard drives and be able to uniquely track them. ANY thoughts
towards my goal would be greatly appreciated. Thank you!

Matthew

Dear Mr Connor,

I think we have the same idea about it. I have been in this maze, I
have done it and it works. I am now living in a country without any
copyright law enforced. And I have done this approach and it works and
non of my cutomers complaint about it. I am sure that you are not on a
wrong way about ensuring your copyright. Now, my approach is tested
with both VB6 and VB.Net.

I know three ways of getting what you want. I mean any hardware serial
number, including HDD (Fixed Disk), Flash drive, Portable Hard Disk.
There are two hard ways and the one you are talking about is one of
them.
I used the easy way and its now bug free.

Of course, there are some facts that should be taken care about
choosing sticks.
Some of them are ...
The USB stick should be genuine from famous company.
It should follow the standard given from USB org. (You can find it on
their web)

I would like to help you with some information but I want to know if
there is any hole in my approach especially if there is more then one
Flash attached. Moreover, I want to discuss about multiple license
using the Network Drive approach.

If you (or anyone in this discussion) are interested, please feel free
to personally mail me.

TMWin
tm****@gmail.com

Jun 20 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Gavin | last post by:
Hi, I'm a newbie to programming of any kind. I have posted this to other groups in a hope to get a response from anyone. Can any one tell me how to make my VB program read the Bios serial number...
15
by: tom | last post by:
Hi, How do I get the serial number of the harddisk in .NET? I want this to be the same number even if the user has reformatted, so I do not want the volume serial number. Thanx, t
3
by: Evgeny Zoldin | last post by:
Hi ALL, how can I get serial number of harddrive using "pure" .NET, without Win API? Thanx
5
by: | last post by:
Hi, Do memory sticks have serial numbers like harddrives? If so how can I get this, I want to uniquely identify a memory stick (removable drive) for authentication. Thanks
1
by: meska | last post by:
Is there a way under c# to retrieve the real hdd serial number ( not volume ) without using wmi tools ?
3
by: Bayazee | last post by:
Hi, How can I get CPU Serial number , or motherboard serial number with python . I need an idetification of a computer .... ThanX --------------------------------------------------- iranian...
4
by: PBI | last post by:
I would like to know if it is possible to read, through php, the Hard Disk Serial Number or other serial number (cpu, motherboard etc... ). Thanks.
9
by: Nebojsa4 | last post by:
Hi. First, sorry on my weak English to all. Qusetion: How to read (in VB) Manufacturer serial number of Hard disk drive? Not volume/serial number of C:, D:, etc. partitons. For reading...
0
by: preethaAjayan | last post by:
Could anybody please help me with a piece of code to get hard disk's serial number using C#, not volume serial number, actual number that manufactures give to hard disks.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.