public override Frame Clone()
        {
            UniqueFileIdentifierFrame frame =
                new UniqueFileIdentifierFrame(owner);

            if (identifier != null)
            {
                frame.identifier = new ByteVector(identifier);
            }
            return(frame);
        }
        public static UniqueFileIdentifierFrame Get(Tag tag, string owner, bool create)
        {
            foreach (Frame f in tag.GetFrames(FrameType.UFID))
            {
                if (f is UniqueFileIdentifierFrame && (f as UniqueFileIdentifierFrame).Owner == owner)
                {
                    return(f as UniqueFileIdentifierFrame);
                }
            }

            if (!create)
            {
                return(null);
            }

            UniqueFileIdentifierFrame frame = new UniqueFileIdentifierFrame(owner, null);

            tag.AddFrame(frame);
            return(frame);
        }
 public static UniqueFileIdentifierFrame Get (Tag tag, string owner, bool create)
 {
    foreach (Frame f in tag.GetFrames (FrameType.UFID))
       if (f is UniqueFileIdentifierFrame && (f as UniqueFileIdentifierFrame).Owner == owner)
          return f as UniqueFileIdentifierFrame;
    
    if (!create) return null;
    
    UniqueFileIdentifierFrame frame = new UniqueFileIdentifierFrame (owner, null);
    tag.AddFrame (frame);
    return frame;
 }
		public override Frame Clone ()
		{
			UniqueFileIdentifierFrame frame =
				new UniqueFileIdentifierFrame (owner);
			if (identifier != null)
				frame.identifier = new ByteVector (identifier);
			return frame;
		}