Tmds.Sdp.Origin.GetSessionHashCode C# (CSharp) Method

GetSessionHashCode() public method

public GetSessionHashCode ( ) : int
return int
        public int GetSessionHashCode()
        {
            int h1 = UserName != null ? UserName.GetHashCode() : 0;
            int h2 = Address != null ? Address.GetHashCode() : 0;
            int h3 = SessionID.GetHashCode();
            int hash = 17;
            hash = hash * 31 + h1;
            hash = hash * 31 + h2;
            hash = hash * 31 + h3;
            return hash;
        }