HostName class winrt Class

Provides data for a hostname or an IP address.

Inheritance
Implemented types
Available extensions

Properties

canonicalName → String
no setteroverride
displayName → String
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
iids → List<String>

Available on IInspectable, provided by the IInspectableExtension extension

Returns the interface IIDs that are implemented by the current Windows Runtime class.
no setter
iPInformation → IPInformation
no setteroverride
ptr ↔ Pointer<COMObject>
getter/setter pairinherited
rawName → String
no setteroverride
runtimeClassName → String

Available on IInspectable, provided by the IInspectableExtension extension

Gets the fully qualified name of the current Windows Runtime object.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trustLevel → TrustLevel

Available on IInspectable, provided by the IInspectableExtension extension

Gets the trust level of the current Windows Runtime object.
no setter
type → HostNameType
no setteroverride

Methods

addRef() → int
inherited
getIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) → int
inherited
getRuntimeClassName(Pointer<IntPtr> className) → int
inherited
getTrustLevel(Pointer<Int32> trustLevel) → int
inherited
isEqual(HostName hostName) → bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) → int
inherited
release() → int
inherited
toInterface(String iid) → Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

compare(String value1, String value2) → int
createHostName(String hostName) → HostName