-
-
Notifications
You must be signed in to change notification settings - Fork 1
PCAP.IsValidFilter
Andrew Lambert edited this page Nov 26, 2022
·
5 revisions
PCAP.IsValidFilter
Protected Function IsValidFilter(Expression As String, Optional ActiveCapture As PCAP.Capture) As Boolean| Name | Type | Comment |
|---|---|---|
| Expression | String | A high-level filtering expression |
| ActiveCapture | Capture | Optional. The capture source. If not specified then a dummy capture using LinkType.NULL will be used. |
Returns True if the Expression is a valid packet filter expression. If this method returns False you may check PCAP.Filter.LastCompileError for details.
Not all legal filter programs are valid for all possible capture sources.
Wiki home | Project page | Bugs | Become a sponsor
Text, images, and code examples are Copyright ©2014-26 Andrew Lambert, offered under the CC BY-SA 3.0 License.