diff options
| author | Wither OrNot | 2025-04-07 23:23:19 +0000 |
|---|---|---|
| committer | Wither OrNot | 2025-04-07 23:23:19 +0000 |
| commit | b7868ff296016917c38657474117d5ca820b2312 (patch) | |
| tree | 5c3dd53fe258c322c14dc2d69b8864a98de91a4a /LibTSforge/Modifiers/KMSHostCharge.cs | |
| parent | cb5c97d443982e547a8dd5a76032de8fa6859b61 (diff) | |
| parent | 3a3ac06ca3715127475c7a2c7b3f0782e1690dfb (diff) | |
| download | TSforge-b7868ff296016917c38657474117d5ca820b2312.zip | |
Merge branch 'longhorn' of https://github.com/massgravel/TSforge into longhorn1.1.0-longhorn+1
Diffstat (limited to 'LibTSforge/Modifiers/KMSHostCharge.cs')
| -rw-r--r-- | LibTSforge/Modifiers/KMSHostCharge.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/LibTSforge/Modifiers/KMSHostCharge.cs b/LibTSforge/Modifiers/KMSHostCharge.cs index 94f4dfd..153c700 100644 --- a/LibTSforge/Modifiers/KMSHostCharge.cs +++ b/LibTSforge/Modifiers/KMSHostCharge.cs @@ -2,8 +2,8 @@ namespace LibTSforge.Modifiers { using System; using System.IO; - using LibTSforge.PhysicalStore; - using LibTSforge.SPP; + using PhysicalStore; + using SPP; public static class KMSHostCharge { @@ -31,9 +31,9 @@ namespace LibTSforge.Modifiers string key = string.Format("SPPSVC\\{0}", appId); long ldapTimestamp = DateTime.Now.ToFileTime(); - byte[] cmidGuids = new byte[] { }; - byte[] reqCounts = new byte[] { }; - byte[] kmsChargeData = new byte[] { }; + byte[] cmidGuids = { }; + byte[] reqCounts = { }; + byte[] kmsChargeData = { }; BinaryWriter writer = new BinaryWriter(new MemoryStream()); @@ -94,7 +94,7 @@ namespace LibTSforge.Modifiers if (version != PSVersion.Vista) { VariableBag kmsCountData = new VariableBag(version); - kmsCountData.Blocks.AddRange(new CRCBlockModern[] + kmsCountData.Blocks.AddRange(new[] { new CRCBlockModern { |
