Instance Property

globallyUniqueString

Global unique identifier for the process.

Declaration

@property(readonly, copy) NSString *globallyUniqueString;

Discussion

The global ID for the process includes the host name, process ID, and a time stamp, which ensures that the ID is unique for the network. This property generates a new string each time its getter is invoked, and it uses a counter to guarantee that strings created from the same process are unique.

See Also

Accessing Process Information

arguments

Array of strings with the command-line arguments for the process.

environment

The variable names (keys) and their values in the environment from which the process was launched.

macCatalystApp

A Boolean value indicating whether the process is a Mac Catalyst app running in macOS.

processIdentifier

The identifier of the process (often called process ID).

processName

The name of the process.