Class SIPPaiHeader
Class for the SIP P-Asserted-Identity header.
Inherited Members
Namespace: SipLib.Core
Assembly: SipLib.dll
Syntax
public class SIPPaiHeader
Constructors
| Edit this page View SourceSIPPaiHeader(string, SIPURI)
Constructor
Declaration
public SIPPaiHeader(string PaiName, SIPURI PaiURI)
Parameters
| Type | Name | Description |
|---|---|---|
| string | PaiName | Name field of the header. Optional. |
| SIPURI | PaiURI | SIPURI to build the SIPPaiHeader from |
Properties
| Edit this page View SourceName
Gets or sets the name field.
Declaration
public string? Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
URI
Gets or sets the SIPURI field
Declaration
public SIPURI? URI { get; set; }
Property Value
| Type | Description |
|---|---|
| SIPURI |
UserField
Gets or sets the SIPUserField
Declaration
public SIPUserField UserField { get; set; }
Property Value
| Type | Description |
|---|---|
| SIPUserField |
Methods
| Edit this page View SourceParseFromHeader(string)
Parses a string into a SIPPaiHeader object.
Declaration
public static SIPPaiHeader ParseFromHeader(string PaiHeaderStr)
Parameters
| Type | Name | Description |
|---|---|---|
| string | PaiHeaderStr | Input string |
Returns
| Type | Description |
|---|---|
| SIPPaiHeader | Returns a new SIPPaiHeader object |
Exceptions
| Type | Condition |
|---|---|
| SIPValidationException |
ToString()
Converts this object into a P-Asserted-Identity header value
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |