To get only unseen emails use this code:
List<long> uids = imap.Search(Flag.Unseen);
Please remember that lack of the \SEEN flag (Flag.Seen in Flags collection) means that the message is unseen.
Flag.Unseen is only used in searches and is equivalent to NOT \SEEN. It is simple an IMAP search shorthand.