Click here to Skip to main content
15,884,099 members
Articles / Programming Languages / C#

SIP Stack with SIP Proxy - (VOIP)

Rate me:
Please Sign up or sign in to vote.
4.86/5 (45 votes)
11 Jun 2007CPOL2 min read 1.6M   28.1K   162  
C# implementation of SIP
using System;

namespace LumiSoft.Net.POP3.Client
{
	/// <summary>
	/// Holds POP3 message info.
	/// </summary>
	public class POP3_MessageInfo
	{
		private string m_MessageID   = "";
		private int    m_MessageNo   = 0;
		private long   m_MessageSize = 0;
		
		/// <summary>
		/// Default constructor.
		/// </summary>
		/// <param name="messageID">Message unique ID.</param>
		/// <param name="messageNo">Message number.</param>
		/// <param name="messageSize">Message size in bytes.</param>
		public POP3_MessageInfo(string messageID,int messageNo,long messageSize)
		{	
			m_MessageID   = messageID;
			m_MessageNo   = messageNo;
			m_MessageSize = messageSize;
		}

		#region Properties Implementation
        		
		/// <summary>
		/// Gets message unique ID returned by pop3 server.
		/// </summary>
		public string MessageUID
		{
			get{ return m_MessageID; }
		}

		/// <summary>
		/// Gets message index number in POP3 server.
		/// </summary>
		public int MessageNumber
		{
			get{ return m_MessageNo; }
		}

		/// <summary>
		/// Gets message size in bytes.
		/// </summary>
		public long MessageSize
		{
			get{ return m_MessageSize; }
		}

		#endregion

	}
}

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