How can I get the first MAC address for a machine?
I’m a kernel-mode filter not speaking directly to any IP card, so I would like to use something high-level…
How can I get the first MAC address for a machine?
I’m a kernel-mode filter not speaking directly to any IP card, so I would like to use something high-level…
For what purpose?
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Thursday, November 18, 2010 7:24 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Getting the first MAC address?
How can I get the first MAC address for a machine?
I’m a kernel-mode filter not speaking directly to any IP card, so I would like to use something high-level…
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
What kind of filter are you?
The idea of the “first MAC address” doesn’t make sense to me. If the machine
has multiple adapters what can this mean?
If you are using Windows Vista or later there are kernel-mode IP Helper
routines (described in the WDK Help…) that can be used to enumerate
adapters. You may get a list of adapters, but the “first” in the list has no
special meaning as far as I know.
Thomas F. Divine
From:
Sent: Thursday, November 18, 2010 10:24 PM
To: “Windows System Software Devs Interest List”
Subject: [ntdev] Getting the first MAC address?
> How can I get the first MAC address for a machine?
>
> I’m a kernel-mode filter not speaking directly to any IP card, so I would
> like to use something high-level…
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
Ken Johnson asked :
"For what purpose? - S "
To get the first MAc adress… I want to check it and check whether this adress is valid.
"The idea of the “first MAC address” doesn’t make sense to me. If the machine has multiple adapters what can this mean? "
I know they don’t have (yes this is very specific).
I don’t mind getting all of them, but let’s start with something simple…
Any more questions on my purposes ??? ![]()
“If you are using Windows Vista”
Forgot about that, no, I’m on Windows XP (all of my thousand of so machines).
What sort of driver are you talking about?
Thomas F. Divine
From:
Sent: Thursday, November 18, 2010 10:47 PM
To: “Windows System Software Devs Interest List”
Subject: RE:[ntdev] Getting the first MAC address?
> "The idea of the “first MAC address” doesn’t make sense to me. If the
> machine has multiple adapters what can this mean? "
>
> I know they don’t have (yes this is very specific).
>
> I don’t mind getting all of them, but let’s start with something simple…
>
> Any more questions on my purposes ??? ![]()
>
> “If you are using Windows Vista”
>
> Forgot about that, no, I’m on Windows XP (all of my thousand of so
> machines).
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
"What sort of driver are you talking about? "
Filter kernel mode. What and why do you need to know more?
>>"What sort of driver are you talking about? "
Filter kernel mode.
Actually, giving such an answer to a question about driver type is already reminiscent of an anecdote.
As we can see it ourselves, real life can get even funnier…
What and why do you need to know more?
Well, I think at this point we already know everything about your knowledge of drivers, so that, indeed, there is no need to know anything more than that…
Anton Bassov
Search this group, there were already some questions about how to get macs.
Maybe he ment that his driver type is “The Filter” ? ![]()
-V
wrote in message news:xxxxx@ntdev…
>"What sort of driver are you talking about? "
Filter kernel mode.
Actually, giving such an answer to a question about driver type is already
reminiscent of an anecdote.
As we can see it ourselves, real life can get even funnier…
What and why do you need to know more?
Well, I think at this point we already know everything about your knowledge
of drivers, so that, indeed, there is no need to know anything more than
that…
Anton Bassov
Your machines can have only one NIC, but if they use any VPN, it means you
have already two mac addresses, one real, and the second is virtual ![]()
-v
wrote in message news:xxxxx@ntdev…
"The idea of the “first MAC address” doesn’t make sense to me. If the
machine has multiple adapters what can this mean? "
I know they don’t have (yes this is very specific).
I don’t mind getting all of them, but let’s start with something simple…
Any more questions on my purposes ??? ![]()
“If you are using Windows Vista”
Forgot about that, no, I’m on Windows XP (all of my thousand of so
machines).
Very recently in this news group a series of posts from Jeffery Tippet &
others explain how to use kernel mode WMI to query NDIS published WMI
information - the MAC address of a NIC happens to be one of those pieces of
in information.
Good Luck,
Dave Cattley
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Thursday, November 18, 2010 10:24 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Getting the first MAC address?
How can I get the first MAC address for a machine?
I’m a kernel-mode filter not speaking directly to any IP card, so I would
like to use something high-level…
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Well, thanks for all the non-answers and the preaching.
David Catley,
Thank you for pointing the message from Jeffrey Tippet, I’m looking into it.
I actually asked the question there too but was distracted by other work during 3 weeks and did not see his answer.
Many thanks,
Peter
xxxxx@gmail.com wrote:
To get the first MAc adress… I want to check it and check whether this adress is valid.
Interesting. How will you decide whether a MAC address is “valid”?
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.