Class ConnectionData
An SDP connection data element.
Inheritance
System.Object
ConnectionData
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
Assembly: FM.LiveSwitch.dll
Syntax
public class ConnectionData
Constructors
ConnectionData(String)
Initializes a new instance of the ConnectionData class.
Declaration
public ConnectionData(string connectionAddress)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionAddress | The connection address. |
Properties
AddressType
Gets or sets the type of the address. See AddressType for possible values.
Declaration
public string AddressType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ConnectionAddress
Gets or sets the connection address.
Declaration
public string ConnectionAddress { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NetworkType
Gets or sets the type of network. See NetworkType for possible values.
Declaration
public string NetworkType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Parse(String)
Creates an ConnectionData instance from a string.
Declaration
public static ConnectionData Parse(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | The string to parse. |
Returns
Type | Description |
---|---|
ConnectionData |
ToString()
Converts this instance to a string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Update(String)
Updates the connection address.
Declaration
public void Update(string connectionAddress)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionAddress | The connection address. |