Skip to content

PCAP.IsNpcap

Andrew Lambert edited this page Nov 26, 2022 · 2 revisions

PCAP.IsNpcap

Method signature

 Protected Function IsNpcap() As Boolean

Return value

Returns True if we're using Npcap instead of Wpcap.

Remarks

Npcap is an updated fork of the unmaintained Wpcap project. One, the other, or both may be installed on any given system. If the PCAP.USE_NPCAP constant is set to True (the default), we'll prefer Npcap over Wpcap when both are installed.

If Npcap was installed in "WinPcap API-compatible Mode" then this method may return False even if we really are using Npcap.

Clone this wiki locally