Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SystemInfo.HardDiscSerial
Returns the hard disc serial number of the first hard disc which has a serial number.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SystemInfo | 2.8 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |
MBS( "SystemInfo.HardDiscSerial" )
Parameters
none
Result
Returns text with serial number or empty text.
Description
Returns the hard disc serial number of the first hard disc which has a serial number.Can be empty if no serial number exists, the plugin fails to query it, e.g. due to missing permissions.
Examples
Shows hard disk serial:
Show Custom Dialog ["Info"; MBS( "SystemInfo.HardDiscSerial" )]
Release notes
- Version 9.2
- Changed SystemInfo.HardDiscSerial for Windows to make sure to ignore removable media.
- Version 8.0
- Changed SystemInfo.HardDiscSerial on Mac to prefer serial from internal disk.
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 28th January 2023