Instance Property

localizedName

Returns the name used as by default when publishing NSNetServices.

Declaration

@property(readonly, copy) NSString *localizedName;

Return Value

A string containing the computer name.

Discussion

This is the name displayed in the Finder sidebar, as well as in the Sharing preference panel.

This method only returns an NSString when sent to the the currentHost instance, all other instances currently return nil.

This property is key-value observable.

See Also

Getting Host Information

address

Returns one of the network addresses of the receiver.

addresses

Returns all the network addresses of the receiver.

name

Returns one of the hostnames of the receiver.

names

Returns all the hostnames of the receiver.