diff options
| author | WitherOrNot | 2025-03-03 01:10:04 +0000 |
|---|---|---|
| committer | WitherOrNot | 2025-03-03 01:10:04 +0000 |
| commit | 74cce5e941aee0fa24062da84b285b19db3c79f5 (patch) | |
| tree | f9d431acd7336bec0e1dde0e62677862a0cfd7aa | |
| parent | 1cf9823ad3defaf063f7306540e5f1bcbf9acbe7 (diff) | |
| download | TSforge-74cce5e941aee0fa24062da84b285b19db3c79f5.zip | |
disable kmsc support for vista until it can be implemented
| -rw-r--r-- | LibTSforge/Modifiers/KMSHostCharge.cs | 2 |
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); |
