Skip to content
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

Multiplatform .Net Core version #97

Open
microkost opened this issue Jan 27, 2018 · 9 comments
Open

Multiplatform .Net Core version #97

microkost opened this issue Jan 27, 2018 · 9 comments

Comments

@microkost
Copy link

Hi, what about making this project compilable for .Net Core to support multiplatformity? I know there is WinPcap / LibPcap dependency, but how much is that port (un)real?

@superware
Copy link

Related, the fact that the x86 and x64 assemblies are in two separated NuGet packages is very limiting, uniting them into a single package will be great (and actually the only way to reference Pcap.Net from a multi-target solution), please see Supporting multiple .NET framework versions.

Please tell me if I can be of any help to push this forward.

@o70078
Copy link

o70078 commented Nov 27, 2018

Wow,that's good news , I'm looking forward for it.

@superware
Copy link

Hi @bricknerb, what do you say about a single x86-x64 NuGet package?

@DaniAsh551
Copy link

@microkost This is possible, proof is SharpPcap already does this, they also have abstracted libpcap, winpcap and airpcap. So I would say this is more than possible

@superware
Copy link

@DaniAsh551 How would you compare Pcap.Net and SharpPcap?

@DaniAsh551
Copy link

DaniAsh551 commented Jan 15, 2019

@superware It depends on the scenario, for example, if you need multiplatform support or AirPcap features, PcapSharp is the way to go. Otherwise, it boils down to the same thing. I am not an expert on the matter though, so anyone is welcome to correct me if I am wrong.

@manufohrer
Copy link

manufohrer commented Dec 18, 2019

I know this discussion is really old.
Are there any updates since 2018?

Actually i am trying to get any pcap-nuget running in a .NetCore-application to realize a multiplatform dcp-search. This is not possible with the latest version of PcapDotNet, because it is not supported in .NetCore.

Are there any plans to make a .NetCore-version? Maybe you already got one?

Cheers

@bp2008
Copy link

bp2008 commented Mar 18, 2020

I'm pretty sure C++/CLI is only usable on Windows, which makes a .net core version kind of pointless.

@klaus0x7c4
Copy link

I have started to make the library usable for .net core or 5+. Since C++/CLI is no longer supported (in .NET core), the only option left was to use P/Invoke.

Please have a look. It should work for Windows. But I don't think it's ready yet.

https://github.com/klaus0x7c4/Pcap.Net (Brand: fullManaged)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants