disable kmsc support for vista until it can be implemented

This commit is contained in:
WitherOrNot 2025-03-02 20:10:04 -05:00
parent 1cf9823ad3
commit 74cce5e941

View File

@ -9,6 +9,8 @@ namespace LibTSforge.Modifiers
{
public static void Charge(PSVersion version, bool production, Guid actId)
{
if (version == PSVersion.Vista) throw new NotSupportedException("This feature is not supported on Windows Vista/Server 2008.");
if (actId == Guid.Empty)
{
actId = SLApi.GetDefaultActivationID(SLApi.WINDOWS_APP_ID, true);