/// <summary> /// Gets the first byte array value from the supplied attribute of the object. /// </summary> /// <param name="attributeName">The name of the attribute to retreive.</param> /// <returns>The value of the attribute, or null if it could not be found.</returns> public byte[] GetByteAttributeValue(string attributeName) { // Refresh the entry data if needed to get the attribute name specified. RefreshEntryIfNeededToRetrieveAttribute(attributeName); // Get the value from the attribute. return(AD.GetByteAttributeValue(attributeName, Entry)); }