SIP .NET Class Library
SIP .NET Class Library
SIP .NET
Independentsoft.Sip
Contact Class
Contact Constructor
Contact Properties
Contact Methods

# Contact Class

The Contact class contains the URI at which the client would like to receive requests. The Contact can contain a display name, a URI with URI parameters, and parameters.
Inheritance Hierarchy
System
Object
Independentsoft.Sip
Contact

Namespace: Independentsoft.Sip
Assembly: Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
C#
VB
Copy

    public class Contact

    Public Class Contact

The Contact type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| Contact | Initializes a new instance of the Contact class.
| Contact(String) | Initializes a new instance of the Contact class from the specified string.
| Contact(String, String) | Initializes a new instance of the Contact class with the specified name and address.
| Contact(String, String, Int32) | Initializes a new instance of the Contact class with the specified name, address and expires value.
| Contact(String, String, String) | Initializes a new instance of the Contact class with the specified name, address and expires value.

Top
Properties

| Name | Description
--- | --- | ---
| Address | Gets or sets the URI. Usually it contains IP address and port number where user would like to receive requests/responses.
| Expires | Gets or sets "expires" parameter. This parameter is only used when the Contact is present in a REGISTER request or response.
| Name | Gets or sets display name.
| Parameters | Gets collection of parameters.
| Priority | Gets or sets "q" property. This parameter is only used when the Contact is present in a REGISTER request or response.

Top
Methods

| Name | Description
--- | --- | ---
| Equals | (Inherited from Object.)
| Finalize | (Inherited from Object.)
| GetHashCode | (Inherited from Object.)
| GetType | (Inherited from Object.)
| MemberwiseClone | (Inherited from Object.)
| ToString | Converts the value of this instance to its equivalent string representation. (Overrides Object ToString .)

Top
See Also

#### Reference

Independentsoft.Sip Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de