Defines a class to parse a SIP URI.

The following tables list the members exposed by the SipUriParser type.

Public Constructors

  Name Description
SipUriParser Overloaded. Creates a new instance of SipUriParser.

Public Properties

  Name Description
AbsoluteUri Gets the absolute URI.
Authority Gets the authority.
GridUriParameter Gets or sets the grid parameter in Uri.
Host Gets or sets the host part of the URI.
HostAndPort Gets or sets the host and port together.
HostNameType Gets the host name type.
IsGruuUri Gets or sets the gruu parameter in Uri.
IsLooseRouter Gets or sets the loose router parameter (lr).
IsPortSet Gets whether the port is set.
IsUniversalNamingConvention Gets the Boolean value indicating whether the path is in Universal Naming Convention (UNC) format.
MethodParameter Gets or sets the method parameter (method).
MulticastAddressParameter Gets or sets the multicast address parameter (maddr).
OpaquePart Gets the opaque part of URI.
OpaqueUriParameter Gets or sets OpaqueUriParameter for URI.
Password Gets or sets the password.
Port Gets and sets the port number.
Query Gets or sets the query of the absolute URI.
Scheme Gets or sets the URI scheme as a string.
TimeToLiveParameter Gets or sets the time to live (TTL) parameter (ttl).
TransportParameter Gets or sets the value of the transport parameter (transport).
User Gets or sets the User URI.
UserAtHost Gets the 'user@host' part of the URI.
UserInfo Gets or sets the user and password with '@' suffix.
UserParameter Gets or sets the user parameter (user).

Public Methods (see also Protected Methods )

  Name Description
AddHeader Add a header to the URI.
AddParameter Add a parameter to the URI.
CheckHostName Returns the UriHostNameType enumeration member for a host name specified as a string.
CompareEqual Compares two URIs for equality.
Equals Overloaded. Overridden. Compares two SIP URIs for equality.
FindHeader Return the header-specific header matching with name.
FindParameter Return the header-specific parameter matching with name.
GetHashCode Overridden. Returns a hash value for the current Name object.
GetHeaders Gets the header collection of the URI.
GetParameters Gets a collection of SIP URI parameters or null if the URI cannot be parsed.
GetType  (inherited from Object )
op_Equality Compares two URIs for equality.
op_Implicit Returns the implicit conversion operator from a string to a Uri object.
op_Inequality Compares two URIs for inequality.
ReferenceEquals  (inherited from Object )
RemoveHeader Removes a header from the URI.
RemoveParameter Add a parameter to the URI.
ToString Overridden. Gets the URI as a string.
TryParse Creates a Uri object from a URI string.

Protected Methods

  Name Description
Finalize  (inherited from Object )
MemberwiseClone  (inherited from Object )

See Also