<CodeCoverageItembinaryFile="c:\Documents and Settings\Boaz\My Documents\TFS\tfs06.codeplex.com\PcapDotNet\PcapDotNet\bin\Debug\PcapDotNet.Core.dll"pdbFile="c:\Documents and Settings\Boaz\My Documents\TFS\tfs06.codeplex.com\PcapDotNet\PcapDotNet\bin\Debug\PcapDotNet.Core.pdb"instrumentInPlace="true"/>
<CodeCoverageItembinaryFile="c:\Documents and Settings\Boaz\My Documents\TFS\tfs06.codeplex.com\PcapDotNet\PcapDotNet\bin\Debug\PcapDotNet.Core.dll"pdbFile="c:\Documents and Settings\Boaz\My Documents\TFS\tfs06.codeplex.com\PcapDotNet\PcapDotNet\bin\Debug\PcapDotNet.Core.pdb"instrumentInPlace="true"/>
<CodeCoverageItembinaryFile="C:\Documents and Settings\Boaz\My Documents\TFS\tfs06.codeplex.com\PcapDotNet\PcapDotNet\bin\Debug\Packets.dll"pdbFile="C:\Documents and Settings\Boaz\My Documents\TFS\tfs06.codeplex.com\PcapDotNet\PcapDotNet\bin\Debug\Packets.pdb"instrumentInPlace="true"/>
@@ -28,7 +28,7 @@ PacketCommunicator::PacketCommunicator(const char* source, int snapshotLength, P
...
@@ -28,7 +28,7 @@ PacketCommunicator::PacketCommunicator(const char* source, int snapshotLength, P
if(pcapDescriptor==NULL)
if(pcapDescriptor==NULL)
{
{
throwgcnewInvalidOperationException(String::Format(CultureInfo::InvariantCulture,"Unable to open the adapter. %s is not supported by WinPcap",gcnewString(source)));
throwgcnewInvalidOperationException("Unable to open the adapter. "+gcnewString(source)+" is not supported by WinPcap");
}
}
_pcapDescriptor=pcapDescriptor;
_pcapDescriptor=pcapDescriptor;
...
@@ -76,6 +76,11 @@ int PacketCommunicator::SnapshotLength::get()
...
@@ -76,6 +76,11 @@ int PacketCommunicator::SnapshotLength::get()
/// The IPv4 netmask of the network on which packets are being captured; useful for filters when checking for IPv4 broadcast addresses in the filter program. If the netmask of the network on which packets are being captured isn't known to the program, or if packets are being captured on the Linux "any" pseudo-interface that can capture on more than one network, the value will be null and a filter that tests for IPv4 broadcast addreses won't be done correctly, but all other tests in the filter program will be OK.
/// </summary>
propertyIpV4SocketAddress^IpV4Netmask
{
IpV4SocketAddress^get();
}
/// <summary>
/// <summary>
/// True if the current file uses a different byte order than the current system.
/// True if the current file uses a different byte order than the current system.