remove debug prints, partially fix compatibility with vista rtm

This commit is contained in:
2025-03-02 20:04:15 -05:00
parent f2ad15e5a2
commit 1cf9823ad3
2 changed files with 1 additions and 7 deletions

View File

@ -165,7 +165,7 @@ namespace LibTSforge.SPP
uint count;
IntPtr pProductKeyIds;
status = SLGetInstalledProductKeyIds(sl.Handle, ref actId, out count, out pProductKeyIds);
status = SLGetSLIDList(sl.Handle, SLIDTYPE.SL_ID_PRODUCT_SKU, ref actId, SLIDTYPE.SL_ID_PKEY, out count, out pProductKeyIds);
if (status != 0 || count == 0)
{