Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
X509.SerialNumber
Queries the serial number.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Certificates | 7.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "X509.SerialNumber"; X509Ref ) More
Parameters
Parameter | Description | Example |
---|---|---|
X509Ref | The reference to the X509 certificate. | $cert |
Result
Returns text or error.
Description
Queries the serial number.Examples
Shows the serial number:
Show Custom Dialog ["Serial Number"; MBS( "X509.SerialNumber"; $cert )]
Shows serial and description:
Set Variable [$cert; Value:MBS( "X509.ReadFromFile"; "/Users/cs/Desktop/test.pem" )]
Show Custom Dialog ["Serial"; MBS( "X509.SerialNumber"; $cert )]
Show Custom Dialog ["Description"; MBS( "X509.Description"; $cert )]
Set Variable [$r; Value:MBS( "X509.Release"; $cert)]
See also
This function checks for a license.
Created 23th December 2016, last changed 14th March 2017