

"\nP-p-p-poker face, p-p-poker face (mum-mum-mum-mah)"Īny of the usb port the thumb drive is plugged-in with a serial number match you will hear Lady Gaga singing. (UsbDriveSerialNumber) <- this will generate the USB drive letter and the serial number If your user finally decides to upgrade hard drive, you may give this articles demo application to the user and ask him what the serial.

This will prevent your user from nagging for a new license key in short time.

You may need a script to achieve your goal based on serial number. Ask him which hard drive hes not planning to upgrade soon, then use that hard drive serial number to generate a license key. (cons (list (vla-get-path d) (vla-get-SerialNumber d)) dr) Hi, As far as I know, it seems that we can only restrict use of USB by Device Classes and Hardware IDs through group policy. Whatever method you use to get A serial or any unique number belonging to a particular USB drive, You can code it this way. These drives, however, do not have a serial number etched on the device’s casing, making them harder to identify. Unless there is another way to do this I would just like to stop it from being copied and reused. Although inexpensive and easy to replace, USB flash drives are an efficient way to transfer files between locations. I was thinking if I could check the serial number on the usb each time, then if it did not matches my original number it will not run. After you list the roots, you can find the USB drive manually then write the File object from your USB drive to a File using FileOutputStreams and then just compare that File object later to your drive. What I would like to do is sell my program on a usb flash drive. Like the person above me said, you can list the roots of your USB directory. (setq dr (cons (list (vla-get-path d) (vla-get-SerialNumber d)) dr) I'm not sure but it appears that DriveType value of 1 are USB ports (setq fso (vlax-create-object "Scripting.FileSystemObject"))ĭr (cons (list (vla-get-path d) (vla-get-SerialNumber d)) dr) (defun UsbDriveSerialNumber (ls / fso dr) Thru "Scripting.FileSystemObject" and the type is integer But if it does have one, and AutoLisp has some way of extracting it, Thought: Do flash drives have serial numbers? I plugged one in, and went exploring all around its Properties and such, and couldn't find reference to such a thing. LOK-IT USB Storage Device Control drastically reduces an employee's ability to save data to a USB mass storage device that is not secure. data breach is due to employee negligence. the model/part number of the drive (47xxx - located at the back of the drive its capacity in GB its date of purchase its serial number, located on the. LOK-IT USB Storage Device Control 2.9 download Top Software Keywords Show more Show less
