NSHost object representing the host the process is running on.
- macOS 10.0+
NSHost object for the process’s host.
This method executes synchronously. The execution time of this method can be highly variable, depending on the local network configuration, and may block for several seconds if the network is unreachable. To avoid blocking execution on the main thread, you should call this method in an
Operation or Grand Central Dispatch block that executes asynchronously in the background.