Click here to Skip to main content
15,895,011 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;
using System.Collections.Generic;
using System.Text;

namespace LumiSoft.Net
{
    /// <summary>
    /// Implements absolute-URI. Defined in RFC 3986.4.3.
    /// </summary>
    public class AbsoluteURI
    {
        private string m_Scheme = "";
        private string m_Value  = "";

        /// <summary>
        /// Default constructor,
        /// </summary>
        public AbsoluteURI()
        {
        }

        /*
        /// <summary>
        /// Parse URI from string value.
        /// </summary>
        /// <param name="value">String URI value.</param>
        protected virtual void Parse(string value)
        {
        }*/


        #region Properties Implementation

        /// <summary>
        /// Gets URI scheme.
        /// </summary>
        public string Scheme
        {
            get{ return m_Scheme; }
        }

        /// <summary>
        /// Gets or sets URI value after scheme.
        /// </summary>
        public string Value
        {
            get{ return m_Value; }

            set{
                if(value == null){
                    throw new ArgumentNullException();
                }

                m_Value = value;
            }
        }

        #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