From: grunwald@foobar.cs.colorado.edu (Dirk Grunwald)
Subject: Re: locking software to a machine
Date: 1995/05/07 [thread overview]
Message-ID: <GRUNWALD.95May7111938@foobar.cs.colorado.edu> (raw)
In-Reply-To: 3oi8b3$gds@harbinger.cc.monash.edu.au
>>>>> "SC" == SH Cunningham <shcun1@penfold.cc.monash.edu.au> writes:
In article <3oi8b3$gds@harbinger.cc.monash.edu.au> shcun1@penfold.cc.monash.edu.au (Mr SH Cunningham) writes:
SC> Can anyone tell me how to lock a program to an AXP machine? I
SC> have used software which does this and wish to be able to lock a
SC> program to a machine by getting a unique ID for that machine.
--
In general, this isn't a good thing to do, because users are then
penalized when they upgrade to a new machine which has a different
serial number. Worse yet, locking to the internet number is even
worse, because it means you can't change move to another ethernet.
You should be willing to move software to a new machine for free if
you do this.
Anyway, the getsysinfo program with the (undocumented) HWRPB function
returns an 'rpbbuf'.
err = getsysinfo(GSI_GET_HWRPB, &rpbbuf, sizeof(rpbbuf));
that buffer, documented in /usr/include/machine/rpb.h contains the field...
char rpb_ssn[16]; /* 040: system serial num: 10 ascii chars */
I've never looked at this field to see if its' really the ID or not.
next prev parent reply other threads:[~1995-05-07 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-05-07 4:00 locking software to a machine Mr SH Cunningham
1995-05-07 4:00 ` Dirk Grunwald [this message]
1995-05-08 4:00 ` Ed Wilts
1995-05-09 4:00 ` Mr SH Cunningham
1995-05-08 4:00 ` John Kohl
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox