SipUriParser Members

Include Protected Members
Include Inherited Members

Provides means to parse a sip URI.

The SipUriParser type exposes the following members.

Constructors

  Name Description
Public method SipUriParser(String) Creates an instance of SipUriParser from a given string.
Public method SipUriParser(SipUriParser) Creates a new instance of the parser given an existing instance.
Public method SipUriParser(String, String) Initializes an instance of SipUriParser.
Public method SipUriParser(String, String, String) Initializes an instance of SipUriParser.
Public method SipUriParser(String, String, String, Int32) Initializes an instance of SipUriParser.
Public method SipUriParser(String, String, String, Int32, String) Initializes an instance of SipUriParser.

Top

Properties

  Name Description
Public property AbsoluteUri Gets the absolute URI.
Public property Authority Gets the authority.
Public property GridUriParameter Obsolete. This property is obsolete in UCMA 2.0 and will be removed in later versions. GRID functionality is no longer supported, so there is no alternative to this property.Gets or sets the grid parameter in URI.
Public property Host Gets or sets the host part of the URI.
Public property HostAndPort Gets or sets the host and port together.
Public property HostNameType Gets the host name type for the host specified in URI.
Public property IsGruuUri Gets or sets the GRUU parameter in URI.
Public property IsLooseRouter Gets or sets the loose router parameter (lr).
Public property IsPortSet Gets true if the port is set. Note that the 'Port' property returns 0 if even if the port is not set.
Public property IsUniversalNamingConvention Gets the Boolean value indicating whether the path is in universal naming convention (UNC) format.
Public property MethodParameter Gets or sets the method parameter (method).
Public property MulticastAddressParameter Gets or sets the multicast address parameter (maddr).
Public property OpaquePart Get the opaque part of URI.
Public property OpaqueUriParameter Gets or sets the OpaqueUriParameter for URI
Public property Password Gets or sets the password.
Public property Port Gets and sets the port number.
Public property Query Gets or sets the query of the absolute URI.
Public property Scheme Gets or sets the URI scheme as a string.
Public property TimeToLiveParameter Gets or sets the time to live (TTL) parameter (ttl).
Public property TransportParameter Gets or sets the value of the transport parameter (transport).
Public property User Gets or sets the User part of the Uri.
Public property UserAtHost Gets the 'user@host' part of the URI.
Public property UserInfo Gets or sets the User and password with '@' suffix.
Public property UserParameter Gets or sets the user parameter (user).

Top

Methods

  Name Description
Public method AddHeader Add a header to the URI.
Public method AddParameter Add a parameter to the URI.
Public methodStatic member CheckHostName Returns the UriHostNameType enum member for a host name specified as a string.
Public methodStatic member CompareEqual(SipUriParser, SipUriParser) Compares two URIs for equality.
Public methodStatic member CompareEqual(SipUriParser, SipUriParser, Boolean) Compares two URIs for equality.
Public method Equals Compares two URIs for equality. (Overrides Object.Equals(Object).)
Protected method Finalize (inherited from Object)
Public method FindHeader Return the header specific header matching with name. Return null if no matching header found.
Public method FindParameter Return the header specific parameter matching with name. Return null if no matching parameter found.
Public method GetHashCode Returns a hash value for the current Name object. (Overrides Object.GetHashCode().)
Public method GetHeaders Gets the header collection of the URI.
Public method GetParameters Gets a collection of sip URI parameters. May be null if the URI cannot be parsed.
Public method GetType (inherited from Object)
Public method IsPhoneUri Helper function to determine whether the URI of this parser is a phone URI. A URI is a phone URI if it has a "tel:" scheme or if it has "sip:" scheme with the parameter 'user=phone'
Protected method MemberwiseClone (inherited from Object)
Public method RemoveHeader Remove a header from the URI.
Public method RemoveParameter Remove a parameter from the URI.
Public method ToString Gets the URI as a string. (Overrides Object.ToString().)
Public methodStatic member TryParse Creates a URI object from a URI string.

Top

Operators

  Name Description
Public operatorStatic member Equality Compares two URIs for equality.
Public operatorStatic member Implicit(String to SipUriParser) Returns the implicit conversion operator from a string to a SipUriParser object.
Public operatorStatic member Inequality Compares two URIs for inequality.

Top

See Also

Reference

SipUriParser Class

Microsoft.Rtc.Signaling Namespace