SdpConnection Members

Include Protected Members
Include Inherited Members

Contains either an IP address or a hostname found in the SDP.

The SdpConnection type exposes the following members.

Constructors

  Name Description
Public method SdpConnection() Initializes a new instance of the SdpConnection class.
Public method SdpConnection(IPAddress) Initializes a new instance of the SdpConnection class.
Public method SdpConnection(SdpConnection) Initializes a new instance of the SdpConnection class.

Top

Properties

  Name Description
Public property HostName Gets or sets the FQDN of the connection. This property will return String.Emtpy if an IP address is present in the SDP. If both and IPAddress and HostName are set, then the HostName is used when serializing.
Public property HostNameIPVersion Gets or sets the address family to use if a hostname is specified rather than an IP address. The family found in the IPAddress instance is used, if the IPAddress property is not null. This value defaults to InterNetwork (IP4).
Public property IPAddress Gets or sets the IP address unless a HostName is supplied. This property may be null.
Public property IsSet Gets true if the connection has been assigned a value.

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method Reset Sets default values for the connection instance.
Public method Set Sets the IPAddress property if the given string is a recognizable address, otherwise sets the HostName property.
Public method ToString Returns a string representation of the SdpConnection instance. This function is useful for tracing or debugging. (Overrides Object.ToString().)
Public method TrySet Sets the IPAddress property if a given string is a recognizable address, otherwise sets the HostName property. Strings that contain spaces, slashes, or control characters are not accepted.

Top

See Also

Reference

SdpConnection Class

Microsoft.Rtc.Signaling Namespace