Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Other Interfaces

    These are other interfaces that you can implement in your plug-in classes to implement their respective functionality.

    IRequiresRegistration

    Implement this interface on your server entry point or any other class that needs to validate registration information. There is one method in this interface:

     Task LoadRegistrationInfoAsync()
    

    See also: IRequiresRegistration

    This method should be implemented to load a MBRegistrationRecord by using the PluginSecurityManager.GetRegistrationStatus call with the feature id that is to be validated. You should always re-load the registration record whenever this method is invoked - even if the information was previously loaded - as this method will be called whenever the environment has changed such that registration should be re-evaluated.

    Example

    public async Task LoadRegistrationInfoAsync()
    {
        var reg = await PluginSecurityManager.GetRegistrationStatus("CoverArt4", "CoverArt3");
    }
    
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.