Click here to Skip to main content
15,892,737 members
Articles / Programming Languages / C#

STUN Client

Rate me:
Please Sign up or sign in to vote.
4.83/5 (36 votes)
20 Apr 2007CPOL 327.8K   14.9K   85  
STUN client C# implementation with sample application
using System;

namespace LumiSoft.Net.IMAP
{
	/// <summary>
	/// IMAP ACL(access control list) rights.
	/// </summary>
	public enum IMAP_ACL_Flags
	{
		/// <summary>
		/// No permissions at all.
		/// </summary>
		None = 0,
		/// <summary>
		/// Lookup (mailbox is visible to LIST/LSUB commands).
		/// </summary>
		l = 1,
		/// <summary>
		/// Read (SELECT the mailbox, perform CHECK, FETCH, PARTIAL,SEARCH, COPY from mailbox).
		/// </summary>
		r = 2,
		/// <summary>
		/// Keep seen/unseen information across sessions (STORE SEEN flag).
		/// </summary>
		s = 4,
		/// <summary>
		/// Write (STORE flags other than SEEN and DELETED).
		/// </summary>
		w = 8,
		/// <summary>
		/// Insert (perform APPEND, COPY into mailbox).
		/// </summary>
		i = 16,
		/// <summary>
		/// Post (send mail to submission address for mailbox,not enforced by IMAP4 itself).
		/// </summary>
		p = 32,
		/// <summary>
		/// Create (CREATE new sub-mailboxes in any implementation-defined hierarchy).
		/// </summary>
		c = 64,
		/// <summary>
		/// Delete (STORE DELETED flag, perform EXPUNGE).
		/// </summary>
		d = 128,
		/// <summary>
		/// Administer (perform SETACL).
		/// </summary>
		a = 256,
		/// <summary>
		/// All permissions
		/// </summary>
		All = 0xFFFF,
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Estonia Estonia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions