serial-number

How do I obtain equipment serial numbers programmatically?

I need to run an equipment audit and to do that I need to obtain the Windows PC, monitor etc. serial numbers. So I faced with going to each PC and manually writing down the numbers. Is there a way I can get this programmatically so each user can run a small program and email me the results? ...

How do you protect your commercial application from being installed on multiple computers with one license?

How do you protect your commercial application from being installed on multiple computers from people who only own one license? Do you think it's a good idea to have more than just a serial based scheme? ...

Generating unique codes in PHP/MySQL?

I'm working with a client that needs to generate millions of the alphanumeric codes used in magazine scratch-off cards, bottlecap prizes, and so on. They have to be short enough to print on a cap, they want to make sure that ambiguous characters like 1 and I, 0 and O, etc. are not included, and they have to be explicitly stored for futur...

How to create serial number generator?

How can I program a Serial Number Generator that generates serial numbers for some existing software? ...

Securing a Flash EXE

My client has a Flash projector EXE and he wants to set-up an on-line serial number control system so he can sell it on-line. The key problem in this project, as far as i see, that the exe is required to run on only one computer. My current plan is below: Request the serial number from user before the installment and check whether it...

How can I convert an integer into a Unicode string in C?

I am working on the Firmware for an embedded USB project. The production programmer I would like to use automatically writes the Serial Number into the device flash memory at a specified memory address. The programmer stores the serial number as Hex digits in a specified number of bytes. For example, if I tell it to store the serial numb...

.NET application per-machine/per-user licensing

I am about to implement a very basic licensing feature for my application. A serial number may be granted per-machine (or per-operating-system) or per-user (as for CAL in Windows Server: if my application is used by several users on one machine or if it is used by one user on several machines). For per-operating-system licensing, I use...

Microsoft products such as Visual Studio 2010 does not require to enter serial number

Hi, I am member of WebsiteSpark and was member of DreamSpark. Both programs enable to download software and provide serial keys to use. Some software like Windows Server has an ISO file to download and a serial number displayed on the website which I must enter during installation. Some other software does not have any serial key. For...

Detail about Win32_OperatingSystem SerialNumber

I'm searching for some information regarding Win32_OperatingSystem SerialNumber (MSDN link). Will this number be different when I reinstall Windows with the same key on the same machine? I intend to use it to identify an installation (Windows + PC combination). ...

C# Get VolumeSerialNumber

I am working on my HWID code. I recently tried converting this code from VB.net to C#. I have this one error which I can't seem to figure out. 'dsk' is a 'variable' but is used as a 'method' Here is my code string returnString = null; string systemDisk = Environment.GetEnvironmentVariable("windir", EnvironmentVariableTarget.Ma...

Looking for code snippets, library, or toolkit to modify a USB Flash Drive's serial number

I've been writing some tools to interact with a USB Flash Drive (removable drive) for our portable application. We are going to be tying some relevant information directly to the flash drive via the serial number (device serial number, not the volume serial number which is formatting based) I am able to read the device serial number. Wh...

printed registration key guidelines, standards, best practices?

I am looking to implement a simple registration key system. There will be printed codes, and we'd like users to type their code into our system. This code will be used around the world, and we want to avoid any problems with confusing codes. We're already doing the following: using numbers and upper case letters leaving off 2 and Z,...

WMI Win32_PhysicalMedia SerialNumber

I am using WMI with C++ to get the physical disk serial number. On Windows 7 64bit, I get a string with the serial number. While when running the same application on a Windows XP 64bit machine I get a hexadecimal string with each char's values reversed. I have noticed 3 different behaviours so far: Windows 7 64bit String in correct ...