/// <summary> /// returns true, if all nameattributes of name are part fo otherName /// </summary> private bool IsNamePartOfOtherName(DistinguishedName name, DistinguishedName otherName) { for (int i = 0; i < name.Count; i++) { if (!otherName.Contains(name[i])) { return false; } } return true; }