Re: GetAdaptersInfo and NetWorkAddress
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Mon, 11 Feb 2008 08:12:33 -0700
It looks to me like you could use NDISUIO to send OID_802_3_CURRENT_ADDRESS
to get the current MAC address. No, there's no sample. I'm reading the
code for NDIS.
Are you sure that GetAdaptersInfo() doesn't return the current MAC address?
Paul T.
"Luis F. Rodas" <support@xxxxxxxxxxxx> wrote in message
news:uk3M1gLbIHA.1132@xxxxxxxxxxxxxxxxxxxxxxx
Hi All,
Anyone knows if exist any function that returns the MAC Address(Physical
Address) directly of an Ethernet Adapter? I am using "GetAdaptersInfo()"
function but it can return the value of the 'NetworkAddress' key (from
Registry) if this key exists. I need to use the real MAC Address of an
Ethernet Adapter. Is it possible using NDIS with
'OID_802_3_PERMANENT_ADDRESS' ? Any sample ?
Best Regards,
Luis F.
(Indusoft Team)
.
- Follow-Ups:
- Re: GetAdaptersInfo and NetWorkAddress
- From: Luis F. Rodas
- Re: GetAdaptersInfo and NetWorkAddress
- References:
- GetAdaptersInfo and NetWorkAddress
- From: Luis F. Rodas
- GetAdaptersInfo and NetWorkAddress
- Prev by Date: Has anyone had their Ethernet port "Lockup"?
- Next by Date: Re: Has anyone had their Ethernet port "Lockup"?
- Previous by thread: GetAdaptersInfo and NetWorkAddress
- Next by thread: Re: GetAdaptersInfo and NetWorkAddress
- Index(es):
Relevant Pages
|