-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winpkFilterDriver.GetNetworkDevices() returns no device #531
Comments
The fact that you copied the DLL, means you already did something wrong. You need to use the installer https://github.com/wiresock/ndisapi/releases |
Hi Ayoub, |
@clw-helb paste the full code you are using |
it's the WinpkFilterExample ;-) If you mean the "direct ndisapi" Code, then:
|
The code that uses |
as I said: it's the SharpPcap |
Could you debug https://github.com/dotpcap/sharppcap/blob/master/SharpPcap/WinpkFilter/WinpkFilterDriver.cs#L66 and check returned value of adapterList ? |
|
|
upfront: I appreciate your help
doesn't change the behaviour
x64 Interestingly: although having installed Windows Packet Filter x64, 3.6.1.1, I can run the example only if I place the ndisapi.dll in the build folder, eg |
What's the return value of "GetTcpipBoundAdaptersInfo" ? |
a tuple where Item1 is a boolean (I guess success) and Item2 is a collection of |
and what about the return value from the example? |
as I said: |
@clw-helb I can't reproduce the issue, and I have no control over what GetTcpipBoundAdaptersInfo returns. |
When running the WinpkFilterDriver(ndisapi)-example the method GetNetworkDevices returns no device.
What could be the reason for this?
And yes: I manually build/copied ndisapi.dll (from https://github.com/wiresock/ndisapi ) into the build folder
Thx in advance
Clemens
The text was updated successfully, but these errors were encountered: