Share via


HostName.CanonicalName Property

Definition

Gets the canonical name for the HostName object.

public:
 property Platform::String ^ CanonicalName { Platform::String ^ get(); };
winrt::hstring CanonicalName();
public string CanonicalName { get; }
var string = hostName.canonicalName;
Public ReadOnly Property CanonicalName As String

Property Value

String

Platform::String

winrt::hstring

The canonical name for the HostName object.

Applies to

See also