---
title: globallyUniqueString
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/processinfo/globallyuniquestring
---

# globallyUniqueString

Global unique identifier for the process.

## Declaration

```swift
var globallyUniqueString: String { get }
```

## Discussion

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](foundation/processinfo/arguments.md)
- [environment](foundation/processinfo/environment.md)
- [isMacCatalystApp](foundation/processinfo/ismaccatalystapp.md)
- [isiOSAppOnMac](foundation/processinfo/isiosapponmac.md)
- [isiOSAppOnVision](foundation/processinfo/isiosapponvision.md)
- [processIdentifier](foundation/processinfo/processidentifier.md)
- [processName](foundation/processinfo/processname.md)
