sure....
you can use also
DosLIB to get mac.
or something like...
(command "SH" "GETMAC > c:\\MAC.txt")
(setq f1 (open "c:\\MAC.txt" "r"))
(setq l1 (read-line f1))
(while l1
(setq MAC (vl-string-search "{" l1))
(if MAC (setq MAC1 l1))
(setq l1 (read-line f1))
)
(close f1)
but what happen if user change his PC ?..
You can use also "LOGINNAME" and generate a code from it.
or shuffle a code from current date..
or use certification licence file...
or use IP...
or any else idea..
but the fact is,...conception idea is not missing..
we just need to think before programming.
good luck !