Class SIPPpiHeader
Class for the SIP P-Preferred-Identity header.
Inherited Members
Namespace: SipLib.Core
Assembly: SipLib.dll
Syntax
public class SIPPpiHeader
Constructors
| Edit this page View SourceSIPPpiHeader(string, SIPURI)
Constructor
Declaration
public SIPPpiHeader(string PpiName, SIPURI PpiURI)
Parameters
Type | Name | Description |
---|---|---|
string | PpiName | Name field of the PPI header. Optional |
SIPURI | PpiURI | SIPURI object to build the PPI header 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 SIPPpiHeader object.
Declaration
public static SIPPpiHeader ParseFromHeader(string PpiHeaderStr)
Parameters
Type | Name | Description |
---|---|---|
string | PpiHeaderStr | Input string |
Returns
Type | Description |
---|---|
SIPPpiHeader | Returns a new SIPPpiHeader object |
ToString()
Converts this SIPPpiHeader object into a string header value
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |