Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

SystemInfo.HostName

Returns the hostname for this computer.

Component Version macOS Windows Linux Server iOS SDK
SystemInfo 2.8 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SystemInfo.HostName" )

Parameters

none

Result

Returns name or error.

Description

Returns the hostname for this computer.
See also SystemInfo.HostDNSName and SystemInfo.DomainName.

With FileMaker Cloud (Linux) the result may be just the IP if no hostname is configured, e.g. "ip-172-31-21-142"

Examples

Shows host name:

Show Custom Dialog [ MBS("SystemInfo.HostName") ]

See also

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 28th January 2023


SystemInfo.HostDNSName - SystemInfo.IdleTime

💬 Ask a question or report a problem