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 | |
---|---|---|
SdpConnection() | Initializes a new instance of the SdpConnection class. | |
SdpConnection(IPAddress) | Initializes a new instance of the SdpConnection class. | |
SdpConnection(SdpConnection) | Initializes a new instance of the SdpConnection class. |
Top
Properties
Name | Description | |
---|---|---|
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. | |
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). | |
IPAddress | Gets or sets the IP address unless a HostName is supplied. This property may be null. | |
IsSet | Gets true if the connection has been assigned a value. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
Reset | Sets default values for the connection instance. | |
Set | Sets the IPAddress property if the given string is a recognizable address, otherwise sets the HostName property. | |
ToString | Returns a string representation of the SdpConnection instance. This function is useful for tracing or debugging. (Overrides Object.ToString().) | |
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