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](component_SystemInfo.md) | [2.8](newinversion28.md) | ✅ 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](http://www.mbsplugins.eu/SystemInfoHardDiscSerial.shtml) for Windows to make sure to ignore removable media.
- **Version 8.0**
    - Changed [SystemInfo.HardDiscSerial](http://www.mbsplugins.eu/SystemInfoHardDiscSerial.shtml) on Mac to prefer serial from internal disk.

### Blog Entries

- [MBS FileMaker Plugin, version 9.2pr8](https://www.mbsplugins.de/archive/2019-05-18/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 8.0pr7](https://www.mbsplugins.de/archive/2018-01-10/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function is free to use.

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

  
[SystemInfo.DoubleClickTime](SystemInfoDoubleClickTime.md) - [SystemInfo.HostDNSName](SystemInfoHostDNSName.md)

[HTML Version](SystemInfoHardDiscSerial.shtml)