Contents

name

Returns one of the hostnames of the receiver.

Declaration

var name: String? { get }

Return Value

One of the hostnames of the receiver. Can be either a simple hostname, such as "sales", or a fully qualified domain name, such as "sales.anycorp.com".

See Also

Getting Host Information