Class HostName

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(hostName: string): HostName

Parameters

  • hostName: string

Returns

HostName

Properties

public canonicalName: string

public displayName: string

public iPInformation: IPInformation

public rawName: string

public type: HostNameType

Methods

public static compare(value1: string, value2: string): number

Parameters

  • value1: string
  • value2: string

Returns

number

public isEqual(hostName: HostName): boolean

Parameters

Returns

boolean