System.Gestalt
From Xojo Documentation
This item was deprecated in version 2014r3. |
Method
This method is only available on the macOS platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
System.Gestalt(Code as String, ByRef CodeResult as Integer) As Boolean
Supported for all project types and targets.
Supported for all project types and targets.
Returns the characteristic of system specified by Code (Macintosh only). Returns a Boolean, which is True if successful.
Notes
See Gestalt Manager Reference on Apple's website.
Examples
This example gets the macOS version: