SdpConnection.HostNameIPVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.