summaryrefslogtreecommitdiff
path: root/LibTSforge/Modifiers/KMSHostCharge.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibTSforge/Modifiers/KMSHostCharge.cs')
-rw-r--r--LibTSforge/Modifiers/KMSHostCharge.cs2
1 files changed, 2 insertions, 0 deletions
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);