BACnet.Core.Datalink.Mac.GetHashCode C# (CSharp) Метод

GetHashCode() публичный Метод

Computes a hash code for the mac address
public GetHashCode ( ) : int
Результат int
        public override int GetHashCode()
        {
            if (bytes == null)
                return 0;

            unchecked
            {
                var result = 0;
                foreach (byte b in bytes)
                    result = (result * 31) ^ b;
                return result;
            }
        }