![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Thanks for the effort Noel - it is appreciated. I am in the process of
building a simple DLL called GetMAC.dll with a single function int GetMAC(
string MAC ) (( utilizing GetAdaptersInfo from iphlpapi.dll )) that will
return the MAC address(es) as a simple string to the calling app. If you are
interested, I will forward when finished.
Regards, John
-----Original Message-----
From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com]On Behalf
Of Noel Henson
Sent: 08 March 2004 16:31
To: sftalk_at_forth.com
Subject: [sftalk] Re: Ethernet MAC address
This may or may not be beneficial.
You can get the MAC address by using method #2, here:
http://community.borland.com/article/0,1410,26040,00.html
Here is some VB code:
http://www.installshield.com/news/newsletter/0211-articles/genguid.asp
In the past I have used simple text license files something like this:
20040601
106O0L
GTCIB
OLQA0
YLV0SA
Each is:
20040601 <-- the date the licence expires
106O0L <-- the same date obfuscated: 45 + 25 base !
GTCIB <-- the same date obfuscated: 19 - 33 base !
OLQA0 <-- the same date obfuscated: 99 + 30 base !
YLV0SA <-- the host name treated as a number: 35 base !
I use the hostname program to get the host name when my program starts. I
create the license offline and supply it to the client. The use the
hostname program to supply me with the name prior to my creating the
license.
It is primitive. It is inelegant. But it does work.
Noel
On Monday 08 March 2004 12:02 am, you wrote:
> Sort of - a single instance of software is to be installed on a customer
> machine, and I do not want them to copy it all around
>
> -----Original Message-----
> From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com]On Behalf
> Of Noel Henson
> Sent: 08 March 2004 02:34
> To: sftalk_at_forth.com
> Subject: [sftalk] Re: Ethernet MAC address
>
>
> Is this for a licensing function?
>
> On Sunday 07 March 2004 07:28 am, you wrote:
> > Has anybody got information on how to extract the MAC address from the
> > ethernet interface?
> > BR, John Ulyate
> >
> >
> > ----------------------------------------------------------------------
> > sftalk_at_forth.com The SwiftForth programming discussion email list
> > To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> > For list command help, send subject "help" to sftalk-request_at_forth.com
> > Message archives are located at http://www.forth.com/archive/sftalk
> > ----------------------------------------------------------------------
> > This list is a forum for SwiftForth users. For product support and bug
> > reports, please send email to support_at_forth.com
> > ----------------------------------------------------------------------
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> For list command help, send subject "help" to sftalk-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product support and bug
> reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> For list command help, send subject "help" to sftalk-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product support and bug
> reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Mon Mar 08 2004 - 07:15:38 PST
This archive was generated by hypermail 2.2.0 : Wed Jan 07 2009 - 03:04:12 PST