machine serial number

Fixrobert's icon

Hello,
I'm trying to figure out how to make a simple copy protection system for some standalones I have to let on some other people's hard drive.

First I'm trying (unsuccessfuly) to get the machine serial number in max. What is the shell command to get it ?

then, I'll change that number with some algorithm to get a key maybe

any idea ?

Luke Hall's icon

I don't know if there is a specific command to get the serial number but this will do it.

Max Patch
Copy patch and select New From Clipboard in Max.

lh

Fixrobert's icon

thanks,
"shell" is an external, told not to be intel compatible on the database. Wich one do you use ?
I did use aka.shell to test. "system_profile" make my dvd player make a loading noise when used (beurk).
but can be a solution tough.

Luke Hall's icon

There's a UB version on the share page. Not sure if that's the one I use but it has the source code with it too.

lh

AudioMatt's icon

In addition, make sure that your program verifies that this is indeed the correct shell object by testing the output of various commands.

You wouldn't want someone opening up the package and replacing the traditional object with their own abstraction.

Fixrobert's icon

What is a UB version ? Can't find any shell object on this page anyway.
(but i assume I'm a very bad searcher).
This patch give me a 6 elements list. Do they are the serial number all together ?
any idea about the DVD player loading at the command line ?

Luke Hall's icon

UB stands for universal binary, which is an external that will run on Intel and PowerPC macs. There's one on the share page listed under Jeremy Bernstein. You might want to check the max objects database too. Not sure of the alternative for windows.

lh