diff options
| author | Lyssa | 2025-04-07 15:19:24 +0000 |
|---|---|---|
| committer | Lyssa | 2025-04-07 15:19:24 +0000 |
| commit | 0c8b1efaa9005de1d101ebab5e66117edfaec3b2 (patch) | |
| tree | 3f5fe837f2ec9cbe20238bdf9ced357f3ec1184e /LibTSforge/Modifiers/KMSHostCharge.cs | |
| parent | 3f1c87831802817f0cb3effacde954d3cbadfb6c (diff) | |
| download | TSforge-0c8b1efaa9005de1d101ebab5e66117edfaec3b2.zip | |
Minor fixups
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 { |
