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  

Plugin.IsMaintenanceExpired

Queries whether maintenance is expired.

Component Version macOS Windows Linux Server iOS SDK
Plugin 13.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Plugin.IsMaintenanceExpired" )

Parameters

none

Result

Returns 1 or 0.

Description

Queries whether maintenance is expired.
This basically compares the end date for the license key to today’s day.

Examples

Check it:

Set Variable [$expired; Value: mbs("Plugin.IsMaintenanceExpired") ]

Remind to update plugin:

If [ GetAsNumber(Middle(MBS( "CompileDate" );7;6)) < Year ( Get(CurrentDate )) and Month ( Get(CurrentDate )) > 3 ]
    Show Custom Dialog [ "Your MBS Plugin could be updated”. ; "It's spring and you use plugin from last year?" ]
End If

See also

Release notes

Blog Entries

This function is free to use.

Created 26th January 2023, last changed 26th January 2023


Plugin.InstallSignalHandlers - Plugin.IsPrerelease

💬 Ask a question or report a problem