Edit

Share via


SdpConnection.HostNameIPVersion Property

Definition

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 System::Net::Sockets::AddressFamily HostNameIPVersion { System::Net::Sockets::AddressFamily get(); void set(System::Net::Sockets::AddressFamily value); };
public System.Net.Sockets.AddressFamily HostNameIPVersion { get; set; }
member this.HostNameIPVersion : System.Net.Sockets.AddressFamily with get, set
Public Property HostNameIPVersion As AddressFamily

Property Value

Exceptions

Thrown when it is neither AddressFamily.InterNetwork (IP4) nor InterNetworkV6 (IP6) are defined for an SDP.

Applies to