Class PasswordAttribute
The "ice-pwd" attribute conveys the password 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 PasswordAttribute : Attribute
Constructors
PasswordAttribute()
Initializes a new instance of the PasswordAttribute class.
Declaration
public PasswordAttribute()
PasswordAttribute(String)
Initializes a new instance of the PasswordAttribute class.
Declaration
public PasswordAttribute(string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | password | The password used by ICE for message integrity. |
Properties
Password
Gets or sets the password used by ICE for message integrity.
Declaration
public string Password { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
FromAttributeValue(String)
Initializes a new instance of the PasswordAttribute class.
Declaration
public static PasswordAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute value. |
Returns
Type | Description |
---|---|
PasswordAttribute |
GeneratePassword()
Generates a random password.
Declaration
public static string GeneratePassword()
Returns
Type | Description |
---|---|
System.String |
GetAttributeValue()
Gets the value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |