T
Thomas Due
We currently use a method for retrieving a MAC address in which we use
the "SendARP" method from the "iphlpapi.dll" library.
As we have understod it, this method is actually deprecated, and
unstable. So the question is:
How do we retrieve the MAC address for any or all NIC on a PC?
And do we make sure that it is correct?
How do we make it work, even if disconnected from a network?
If there isn't a NIC available, there is of course no MAC address, but
any modern computer has a NIC as default, so we're not worried about
not having a NIC available.
We are currently using C# 1.1, but will switch to 2.0 when released.
TYI
--
Thomas Due
Posted with XanaNews version 1.17.5.9
"The visionary lies to himself, the liar only to others."
-- Friedrich Nietzsche
the "SendARP" method from the "iphlpapi.dll" library.
As we have understod it, this method is actually deprecated, and
unstable. So the question is:
How do we retrieve the MAC address for any or all NIC on a PC?
And do we make sure that it is correct?
How do we make it work, even if disconnected from a network?
If there isn't a NIC available, there is of course no MAC address, but
any modern computer has a NIC as default, so we're not worried about
not having a NIC available.
We are currently using C# 1.1, but will switch to 2.0 when released.
TYI
--
Thomas Due
Posted with XanaNews version 1.17.5.9
"The visionary lies to himself, the liar only to others."
-- Friedrich Nietzsche