ImSQL
C++ 기반 SQL 자동화 및 라이선스 관리 엔진
Loading...
Searching...
No Matches
license_info.hpp File Reference

라이선스 정보 구조체 및 관련 유틸리티 함수 정의 파일입니다. More...

#include <utils/utils.hpp>
#include <string>
#include <vector>
+ Include dependency graph for license_info.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  license::LicenseInfo
 라이센스 정보 More...
 

Functions

bool license::parseLicenseJson (const std::string &data, LicenseInfo &info, const std::string &pem_code)
 라이센스 JSON 데이터 파싱
 
std::string license::GetBaseboardSerialNumber ()
 메인보드 시리얼 번호를 획득한다.
 

Detailed Description

라이선스 정보 구조체 및 관련 유틸리티 함수 정의 파일입니다.

Function Documentation

◆ GetBaseboardSerialNumber()

std::string license::GetBaseboardSerialNumber ( )

메인보드 시리얼 번호를 획득한다.

(Windows 전용)

Windows의 WMI 서비스를 사용하여 메인보드의 시리얼 번호를 조회한다.

Returns
std::string 메인보드 시리얼 번호 문자열 (조회 실패 시 빈 문자열 반환)

◆ parseLicenseJson()

bool license::parseLicenseJson ( const std::string & data,
LicenseInfo & info,
const std::string & pem_code )

라이센스 JSON 데이터 파싱

Parameters
dataJSON 문자열
infoLicenseInfo 객체 참조
Returns
성공 여부