There is not other than by testing against existence of a key in the conf file
Peter > Gesendet: Freitag, 29. März 2019 um 14:59 Uhr > Von: "Tobias Klein" <cont...@tklein.info> > An: "SWORD Developers' Collaboration Forum" <sword-devel@crosswire.org> > Betreff: [sword-devel] Question about GerHfa2002 and locked modules in general > > Hi, > > I stumbled across GerHfa2002 and found that it's a locked module. > http://www.crosswire.org/sword/modules/ModInfo.jsp?modName=GerHfa2002 > > Is it possible through the API of InstallMgr or SWModule to detect > whether a module is locked or not? > > It would be nice if the user could see that piece of information before > installing a module that requires an unlock key. > I didn't find any way to get that information automatically. > > Best regards, > Tobias > > > _______________________________________________ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page > _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page