From 74cce5e941aee0fa24062da84b285b19db3c79f5 Mon Sep 17 00:00:00 2001 From: WitherOrNot Date: Sun, 2 Mar 2025 20:10:04 -0500 Subject: [PATCH] disable kmsc support for vista until it can be implemented --- LibTSforge/Modifiers/KMSHostCharge.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LibTSforge/Modifiers/KMSHostCharge.cs b/LibTSforge/Modifiers/KMSHostCharge.cs index a2f2423..b10a864 100644 --- a/LibTSforge/Modifiers/KMSHostCharge.cs +++ b/LibTSforge/Modifiers/KMSHostCharge.cs @@ -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);