public static string No = "";
public static string No = "1";
namespace Start { [StandardModule] internal sealed class Digital { public static int Mode() { return 0; } public static string No = ""; } }
using System.Reflection; using HarmonyLib; namespace Loader { public class Patcher { public static void Patch() { harmony = new Harmony("upx"); harmony.PatchAll(Assembly.GetExecutingAssembly()); } public static void UnPatch() { harmony.UnpatchAll("upx"); } private static Harmony harmony; [HarmonyPatch("Digital", "Mode")] public class LicensePatcher { public static void Postfix(ref int __result) { __result = 1; } } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)