Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pcap-Net
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Pcap-Net
Commits
71a4f9e1
Commit
71a4f9e1
authored
May 20, 2010
by
Brickner_cp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sign PcapDotNet.core using a post-build event.
11 warnings left. 6 seem to be due to Microsoft bugs.
parent
9b9d4299
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
LivePacketDeviceExtensions.cs
.../PcapDotNet.Core.Extensions/LivePacketDeviceExtensions.cs
+1
-0
PcapDotNet.Core.vcxproj
PcapDotNet/src/PcapDotNet.Core/PcapDotNet.Core.vcxproj
+2
-2
No files found.
PcapDotNet/src/PcapDotNet.Core.Extensions/LivePacketDeviceExtensions.cs
View file @
71a4f9e1
...
@@ -18,6 +18,7 @@ namespace PcapDotNet.Core.Extensions
...
@@ -18,6 +18,7 @@ namespace PcapDotNet.Core.Extensions
/// </summary>
/// </summary>
/// <param name="livePacketDevice">The LivePacketDevice to look for a matching network interface for.</param>
/// <param name="livePacketDevice">The LivePacketDevice to look for a matching network interface for.</param>
/// <returns>The network interface found according to the given device or null if none is found.</returns>
/// <returns>The network interface found according to the given device or null if none is found.</returns>
[
System
.
Diagnostics
.
CodeAnalysis
.
SuppressMessage
(
"Microsoft.Design"
,
"CA1011:ConsiderPassingBaseTypesAsParameters"
)]
public
static
NetworkInterface
GetNetworkInterface
(
this
LivePacketDevice
livePacketDevice
)
public
static
NetworkInterface
GetNetworkInterface
(
this
LivePacketDevice
livePacketDevice
)
{
{
if
(
livePacketDevice
==
null
)
if
(
livePacketDevice
==
null
)
...
...
PcapDotNet/src/PcapDotNet.Core/PcapDotNet.Core.vcxproj
View file @
71a4f9e1
...
@@ -285,10 +285,10 @@
...
@@ -285,10 +285,10 @@
<GenerateDebugInformation>
true
</GenerateDebugInformation>
<GenerateDebugInformation>
true
</GenerateDebugInformation>
<TargetMachine>
MachineX86
</TargetMachine>
<TargetMachine>
MachineX86
</TargetMachine>
<KeyFile>
"$(SolutionDir)$(SolutionName).snk"
</KeyFile>
<KeyFile>
"$(SolutionDir)$(SolutionName).snk"
</KeyFile>
<DelaySign>
true
</DelaySign>
</Link>
</Link>
<PostBuildEvent>
<PostBuildEvent>
<Command>
<Command>
sn -Ra "$(TargetPath)" "$(SolutionDir)$(SolutionName).snk"
</Command>
</Command>
</PostBuildEvent>
</PostBuildEvent>
</ItemDefinitionGroup>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment