System.Net.Sockets.IPPacketInformation.operator C# (CSharp) Méthode

operator() public static méthode

public static operator ( ) : bool
Résultat bool
        public static bool operator ==(IPPacketInformation packetInformation1, IPPacketInformation packetInformation2)
        {
            return packetInformation1._networkInterface == packetInformation2._networkInterface &&
                (packetInformation1._address == null && packetInformation2._address == null || packetInformation1._address.Equals(packetInformation2._address));
        }