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  

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

💬 Ask a question or report a problem