USB Flash Drive

Posted on 2007-07-19
Last Modified: 2010-04-15
Id like to use USB Flash Drive as some sort of key that protects my software from unauthorized use. That is the software will only run if flash drive I issue to the user is inserted into any USB port on the PC.
Is there any BIOS or firmware unique ID or date/time on any typical flash drive and which API can I use to read those?
Thank you.
Question by:mvoronkin
    LVL 13

    Expert Comment

    Hi mvoronkin
    The following link retrieves the hardcoded sn of the usb flash drive:

    The limitation of using sn of a flash drive is that not all usb flash drives have sn.
    LVL 13

    Accepted Solution

    sorry, the previous link was for the hard drive.
    this is a good link:

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
    Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now