GW2LicenceDetails
GW2LicenceDetails 함수는 session에 로드된 라이선스의 세부 정보를 반환하며, 여기에는 남은 일수와 활성화된 entitlement가 포함됩니다.
- 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 메서드는 licence 세부 정보를 설명하는 상수 문자열에 대한 포인터를 반환합니다.
/// <param name="session">Current open Glasswall session</param>
public string LicenceDetails(int session)
반환값
세션에 로드된 licence의 세부 정보를 설명하는 문자열을 반환합니다.
개요
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이 유효하지 않거나 라이선스 세부 정보를 가져올 수 없는 경우 발생합니다.
개요
licence 세부 정보를 포함하는 문자열을 반환합니다.
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)