Class UfragAttribute
The "ice-ufrag" attribute conveys the username fragment used by ICE for message integrity.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch.Sdp.Ice
Assembly: FM.LiveSwitch.dll
Syntax
public class UfragAttribute : Attribute
Constructors
UfragAttribute()
Initializes a new instance of the UfragAttribute class.
Declaration
public UfragAttribute()
UfragAttribute(String)
Initializes a new instance of the UfragAttribute class.
Declaration
public UfragAttribute(string ufrag)
Parameters
Type | Name | Description |
---|---|---|
System.String | ufrag | The username fragment used by ICE for message integrity. |
Properties
Ufrag
Gets or sets the username fragment used by ICE for message integrity.
Declaration
public string Ufrag { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
FromAttributeValue(String)
Initializes a new instance of the UfragAttribute class.
Declaration
public static UfragAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute value. |
Returns
Type | Description |
---|---|
UfragAttribute |
GenerateUfrag()
Generates a username fragment.
Declaration
public static string GenerateUfrag()
Returns
Type | Description |
---|---|
System.String |
GetAttributeValue()
Gets the value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |