IPPacketInformation::Inequality Operator (IPPacketInformation, IPPacketInformation)

 
equivalentCodeEntityM:System.Net.Sockets.IPPacketInformation.Compare(System.Net.Sockets.IPPacketInformation,System.Net.Sockets.IPPacketInformation)

Tests whether two specified IPPacketInformation instances are not equal.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

public:
static bool operator !=(
	IPPacketInformation packetInformation1,
	IPPacketInformation packetInformation2
)

Parameters

packetInformation1
Type: System.Net.Sockets::IPPacketInformation

The IPPacketInformation instance that is to the left of the inequality operator.

packetInformation2
Type: System.Net.Sockets::IPPacketInformation

The IPPacketInformation instance that is to the right of the inequality operator.

Return Value

Type: System::Boolean

true if packetInformation1 and packetInformation2 are unequal; otherwise, false.

This operator tests both the Address and Interface values for both arguments.

.NET Framework
Available since 2.0
Return to top
Show: