Yes, my answer was that no IOCTL is currently provided to retrieve the driver version. Consider that packet.dll version is strictly related to the NPF version, since the driver and the dll are always installed toghether by the winpcap installer, so if you don't install the WinPcap binaries manually (a practice that we strongly discourage) the versions are granted to be aligned. In every case, different versions normally are not able to work together.
Loris > On Fri, May 23, 2003 at 04:10:24PM +0200, Gisle Vanem wrote: > > Is there any function of IO-control command to get the > > file-version of NPF.SYS? The PacketGetVersion() only > > returns the packet.dll version (not so interesting). > > Was there any answer to this? I've just updated the current CVS version > of libpcap so that, in "pcap_lib_version()", it uses, on Win32, > "PacketGetVersion()" to get the packet.dll version and, if that differs > from the version number string in pcap.c, the string it returns includes > both version strings (so that the string will note that wpcap.dll and > packet.dll are mismatched). It might be interesting to report a > mismatch between the driver and either or both of the library as well. > > ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe use mailto: [EMAIL PROTECTED] ==================================================================
