Automobile.Mobile.Framework.Data.UdpClient.IsMatch C# (CSharp) Method

IsMatch() private method

private IsMatch ( DeviceInfo orignal, DeviceInfo match ) : bool
orignal DeviceInfo
match DeviceInfo
return bool
        private bool IsMatch(DeviceInfo orignal, DeviceInfo match)
        {
            return (orignal.MobileOs == null || orignal.MobileOs == match.MobileOs) &&
                    (orignal.OsVersion == null || orignal.OsVersion == match.OsVersion) &&
                    (orignal.UniqueId == null || orignal.UniqueId == match.UniqueId);
        }