Skip to main content
SharpPcap package icon

SharpPcap

SharpPcap is a cross-platform(Windows, Mac, Linux) packet capture framework for the .NET environment. It provides an API for capturing, injecting, analyzing and building packets using any .NET language such as C# and VB.NET.

Total Downloads
3.0M
2,963,139
Published
Jun 1, 2025
Latest stable version

Install

.NET CLI
dotnet add package SharpPcap --version 6.3.1
Package Manager Console
Install-Package SharpPcap -Version 6.3.1
PackageReference
<PackageReference Include="SharpPcap" Version="6.3.1" />

Frameworks

net8.0 .NETStandard2.0

Dependencies

[1.4.8, )
[4.6.3, )
PacketDotNet
.NETStandard2.0
[1.4.8, )
System.Memory
.NETStandard2.0
[4.6.3, )
[9.0.5, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.