473,765 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 10489
On Jun 19, 1:37 pm, Matthew Connor <con...@gmail.c omwrote:
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.c omwrote:
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.c omwrote in message
news:11******** **************@ o61g2000hsh.goo glegroups.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.c omwrote:
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 embeddedserialn umber (NOT
the volumeserialtha t 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 embeddedserialn umber 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.co m

Jun 20 '07 #7

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

Similar topics

21
43069
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 (or would HDD be better, or both?) and put that info into VB prog so the program won't work on another computer. My program uses an MSAccess table. Much appreciated if you can help! Thanks
15
9692
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
1690
by: Evgeny Zoldin | last post by:
Hi ALL, how can I get serial number of harddrive using "pure" .NET, without Win API? Thanx
5
2691
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
1824
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
8189
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 python community --www.python.ir
4
6872
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
20724
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 volume/serial number of hard disk C: etc, You can use Microsoft Scripting Runtime (in VB):
0
1726
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
10007
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7378
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.