GW2LicenceDetails
    • PDF

    GW2LicenceDetails

    • PDF

    Article summary

    The GW2LicenceDetails function returns the details of a licence loaded in for a session, including the number of days remaining and what entitlements are enabled.

    Synopsis

    #include "glasswall.core2.api.h"
    
    const char * GW2LicenceDetails(Session session);

    Returns

    The GW2LicenceDetails function returns a pointer to a constant string describing the details the licence.

    Returns

    Returns a pointer to a constant string describing the details of the licence for the session.

    Synopsis

    The  GW2LicenceDetails  method returns a pointer to a constant string describing the details of the licence.

     /// <param name="session">Current open Glasswall session</param>
        public string LicenceDetails(int session)

    Returns

    Returns a string describing the details of the licence loaded for the session.

    Synopsis

    import com.glasswall.core2javabridge.*;
    
    public String GW2LicenceDetails(int session) throws GlasswallException

    Returns

    The GW2LicenceDetails function returns a String containing the licence details for the session specified by session.

    A GlasswallException exception will be thrown if `session` is invalid, or the licence details could not be retrieved.

    Synopsis

    Returns a string containing details of the licence

    def licence_details(self):
        """ Returns a string containing details of the licence.
    
        Returns:
            result (str): A string containing details of the licence.
        """

    Returns

    A string containing details of the licence, for example:

    Unlimited Licence
    Entitlements:
            Engine_Main
            Engine_SecurityTagging
            Engine_ExportImport

    Synopsis

    The  GW2LicenceDetails  function returns a pointer to a constant string describing the details of the licence.

     * @param {number} session The ID of the session. 
         * @returns {string} The details of the licence currently associated with this session.
        GW2LicenceDetails(session) 

    Was this article helpful?