Skip to content
C

Cross-platform hostname

Provides a cross-platform os.hostname() by returning not just the computer name but the full computer name on Windows 10 (which can be a domain name that includes the primary DNS suffix.)