summaryrefslogtreecommitdiff
path: root/LibTSforge/Modifiers/KMSHostCharge.cs
diff options
context:
space:
mode:
authorWitherOrNot2025-04-07 22:19:19 +0000
committerGitHub2025-04-07 22:19:19 +0000
commit3a3ac06ca3715127475c7a2c7b3f0782e1690dfb (patch)
treef83328728b259bb6ec1e52979322377df1c7d627 /LibTSforge/Modifiers/KMSHostCharge.cs
parentbdd201061daf7492fb116b86a54cd349c01fbb0a (diff)
parent22bbb93e909154da94aee1b55e551038a3a37e6c (diff)
downloadTSforge-3a3ac06ca3715127475c7a2c7b3f0782e1690dfb.zip
Merge pull request #4 from massgravel/minor-fixups
Minor fixups
Diffstat (limited to 'LibTSforge/Modifiers/KMSHostCharge.cs')
-rw-r--r--LibTSforge/Modifiers/KMSHostCharge.cs12
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
{