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

ClearRegistration

Clears registration details stored with StoreRegistration.

Component Version macOS Windows Linux Server iOS SDK
Plugin 3.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "ClearRegistration" )

Parameters

none

Result

Returns OK on success.

Description

Clears registration details stored with StoreRegistration.
Added Windows support in plugin version 4.4.

You may also need to call Unregister function if needed.

Examples

Clears registration:

$r = MBS( "ClearRegistration" )

Remove license in closing script for SBA solution:

If [ MBS("IsRegistered") ]
    If [ MBS( "Plugin.LicenseeName" ) = "MyName" ]
        # forget license now
        Set Variable [ $r ; Value: MBS( "Unregister" ) ]
        # and clear from preferences file
        Set Variable [ $r ; Value: MBS( "ClearRegistration" ) ]

    End If
End If

See also

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 4th March 2022


ClearErrors - Clipboard.AddText