Re: GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- From: bluenozer <bluenozer@xxxxxxxxx>
- Date: Mon, 28 Jan 2008 17:32:09 -0800 (PST)
Aha. Then it may be TimeOfLastReset property of Win32_NetworkAdapter
WMI class (as advised by Kellie).
Pavel.,
No. That time only reports the reset of the interface hardware from a
reboot, system restart or maybe (untested) uninstalling and
reinstalling the hardware through Add/Remove Hardware.
See my test code above and try it for yourself. Note the duration of
the NIC from its Status dialog, run my test program, note the
TimeOfLastReset. Change the NIC by disabling and enableing it. Check
the duration in the Status dialog. Check the test program
TimeOfLastReset again. It reports incorrectly.
To correctly implement this I would have to program a driver which
loads at boot time and watches for changes. Beyond the scope of the
program as the driver would be running whether my program was active
or not. Not to mention I was not expecting to learn driver
developement.
People are getting the Duration of the Connection, which I need,
confused with the Time of Last Reset of the interface..
I'm giving up on this at this time. Too much time on it. Too many
other problems to solve.
Thanks everyone for the help.
BlueNozer...
.
- References:
- GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- From: bluenozer
- Re: GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- From: Kellie Fitton
- Re: GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- From: bluenozer
- Re: GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- From: Volodymyr Shcherbyna
- Re: GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- From: bluenozer
- Re: GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- From: Kellie Fitton
- Re: GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- From: bluenozer
- Re: GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- From: Pavel A.
- Re: GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- From: bluenozer
- Re: GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- From: Pavel A.
- GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- Prev by Date: Re: Multihomed m/c, bind and MSG_DONTROUTE
- Next by Date: Re: How to port surf using C/C++ sockets in windows
- Previous by thread: Re: GetIfEntry - dwLastChange - Need Vista/NDIS compatable information
- Next by thread: Re: Windows XP SP2 Machine is killing the connection by sending an RST
- Index(es):
Relevant Pages
|
|