HostNameType Enum

Definition

The type of a HostName object.

public enum class HostNameType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class HostNameType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum HostNameType
var value = Windows.Networking.HostNameType.domainName
Public Enum HostNameType
Inheritance
HostNameType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
DomainName 0

A domain name.

Ipv4 1

An IPv4 address.

Ipv6 2

An IPv6 address.

Bluetooth 3

A Bluetooth address. This represents the hardware or media access control (MAC) address for a Bluetooth device.

Applies to

See also