Hello,

Has anyone tried to retrieve MAC address(es) of a windows machine using
Pharo? I have tried two options thus far without any success:

1/ OSProcess: I tried  (PipeableOSProcess command: 'ipconfig /all') output.
This opens a command prompt on windows machine without anything happening
inside it. Although when I try it on Linux/Mac (with ifconfig), I retrieve
the output of the command. Another option is to do OSProcess command:
'ipconfig' but I wasn't able to find a way to retrieve the output of the
command.

2/ Nativeboost comes with a set of built-in command to interact with
Windows (class NBWin32Shell). One can get environment variables, etc. But I
wasn't able to find a way to execute a command on the line and get the
results.


Would someone know of a way to retrieve the MAC addresses in Windows
through the way listed above or any other form from the Pharo image?

thanks in advance,

Usman

Reply via email to