Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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