GW2LicenceDetails
GW2LicenceDetails関数は、残り日数や有効になっている権利を含め、sessionに読み込まれたライセンスの詳細を返します。
- C++
- C#
- Java
- Python
- JavaScript
#include "glasswall.core2.api.h"
const char * GW2LicenceDetails(Session session);
パラメーター
session GW2OpenSession によって返されるセッションの ID
戻り値
A pointer to a constant string describing the details of the licence for the session, or the string "Unknown Session ID" if session is invalid or the licence details could not be retrieved. The memory of the returned string does not need to be freed by the user, however further calls to GW2LicenceDetails will invalidate the returned string.
概要
GW2LicenceDetails メソッドは、ライセンスの詳細を説明する定数文字列へのポインターを返します。
/// <param name="session">Current open Glasswall session</param>
public string LicenceDetails(int session)
戻り値
セッションに読み込まれたライセンスの詳細を説明する文字列を返します。
概要
import com.glasswall.core2javabridge.*;
public String GW2LicenceDetails(int session) throws GlasswallException
戻り値
The GW2LicenceDetails function returns a String containing the licence details for the session specified by session.
GlasswallException 例外は、session が無効である場合、またはライセンスの詳細を取得できなかった場合にスローされます。
概要
ライセンスの詳細を含む文字列を返します。
def licence_details(self):
""" Returns a string containing details of the licence.
Returns:
result (str): A string containing details of the licence.
"""
戻り値
ライセンスの詳細を含む文字列です。例:
Unlimited Licence
Entitlements:
Engine_Main
Engine_Protect
Engine_Analysis
Engine_ExportImport
概要
GW2LicenceDetails 関数は、ライセンスの詳細を説明する定数文字列へのポインタを返します。
* @param {number} session The ID of the session.
* @returns {string} The details of the licence currently associated with this session.
GW2LicenceDetails(session)