Share via


HostName Property

Gets or sets the FQDN of the connection.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Property HostName As String
    Get
    Set
'Usage
Dim instance As SdpConnection
Dim value As String

value = instance.HostName

instance.HostName = value
public string HostName { get; set; }

Property Value

Type: System..::..String
A string containing the FQDN of the connection, or [String.Empty] if an IP address is present in the SDP.

Remarks

If both [IPAddress] and [HostName] are set, [HostName] is used when serializing.

See Also

Reference

SdpConnection Class

SdpConnection Members

Microsoft.Rtc.Signaling Namespace