Click here to Skip to main content
15,880,405 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 322.1K   14.9K   85  
STUN client C# implementation with sample application
using System;

namespace LumiSoft.Net.Mime
{
	/// <summary>
	/// Rfc 2045 6. Content-Transfer-Encoding. Specified how entity data is encoded.
	/// </summary>
	public enum ContentTransferEncoding_enum
	{
		/// <summary>
		/// Rfc 2045 2.7. 7bit data.
		/// "7bit data" refers to data that is all represented as relatively
		///	short lines with 998 octets or less between CRLF line separation
		///	sequences [RFC-821].  No octets with decimal values greater than 127
		///	are allowed and neither are NULs (octets with decimal value 0).  CR
		///	(decimal value 13) and LF (decimal value 10) octets only occur as
		///	part of CRLF line separation sequences.
		/// </summary>
		_7bit = 1,

		/// <summary>
		/// Rfc 2045 2.8. 8bit data.
		/// "8bit data" refers to data that is all represented as relatively
		///	short lines with 998 octets or less between CRLF line separation
		///	sequences [RFC-821]), but octets with decimal values greater than 127
		///	may be used.  As with "7bit data" CR and LF octets only occur as part
		///	of CRLF line separation sequences and no NULs are allowed.
		/// </summary>
		_8bit = 2,

		/// <summary>
		/// Rfc 2045 2.9. Binary data.
		/// "Binary data" refers to data where any sequence of octets whatsoever is allowed.
		/// </summary>
		Binary = 3,

		/// <summary>
		/// Rfc 2045 6.7 Quoted-Printable Content-Transfer-Encoding.
		/// </summary>
		QuotedPrintable = 4,

		/// <summary>
		/// Rfc 2045 6.8 Base64 Content-Transfer-Encoding.
		/// </summary>
		Base64 = 5,

		/// <summary>
		/// Content-Transfer-Encoding field isn't available(doesn't exist).
		/// </summary>
		NotSpecified = 30,

		/// <summary>
		/// Content transfer encoding is unknown.
		/// </summary>
		Unknown = 40,
	}
}

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