diff options
| author | WitherOrNot | 2025-03-01 07:01:39 +0000 |
|---|---|---|
| committer | WitherOrNot | 2025-03-01 07:06:21 +0000 |
| commit | 6d759899d85939c95f2b97c8e041d7b4865208f9 (patch) | |
| tree | 08e174f929f4ddbbaa687207cf47784b29595f4b /LibTSforge/Activators/AVMA4K.cs | |
| parent | 8aa1f9078d786a7b20d2b92bbeefdd77a93dd828 (diff) | |
| download | TSforge-6d759899d85939c95f2b97c8e041d7b4865208f9.zip | |
Add partial support (zcid, rtmr, non-functional kms4k) for vista
Co-authored-by: InvoxiPlayGames <[email protected]>
Diffstat (limited to 'LibTSforge/Activators/AVMA4K.cs')
| -rw-r--r-- | LibTSforge/Activators/AVMA4K.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/LibTSforge/Activators/AVMA4K.cs b/LibTSforge/Activators/AVMA4K.cs index 5ac2838..ec09daf 100644 --- a/LibTSforge/Activators/AVMA4K.cs +++ b/LibTSforge/Activators/AVMA4K.cs @@ -34,11 +34,11 @@ namespace LibTSforge.Activators throw new NotSupportedException("Non-VT:IA product key installed."); } - Utils.KillSPP(); + SPPUtils.KillSPP(version); Logger.WriteLine("Writing TrustedStore data..."); - using (IPhysicalStore store = Utils.GetStore(version, production)) + using (IPhysicalStore store = SPPUtils.GetStore(version, production)) { string key = string.Format("SPPSVC\\{0}\\{1}", appId, actId); @@ -57,23 +57,23 @@ namespace LibTSforge.Activators timerTime = crcBindTime / 10000; expiry /= 10000; - VariableBag avmaBinding = new VariableBag(); + VariableBag avmaBinding = new VariableBag(version); - avmaBinding.Blocks.AddRange(new CRCBlock[] + avmaBinding.Blocks.AddRange(new CRCBlockModern[] { - new CRCBlock + new CRCBlockModern { DataType = CRCBlockType.BINARY, Key = new byte[] { }, Value = BitConverter.GetBytes(crcBindTime), }, - new CRCBlock + new CRCBlockModern { DataType = CRCBlockType.STRING, Key = new byte[] { }, ValueAsStr = "AVMA4K", }, - new CRCBlock + new CRCBlockModern { DataType = CRCBlockType.STRING, Key = new byte[] { }, |
