forked from zombieb/undead-universal-patch-il2cpp
Internal add hash to login form for all logins, fix registration patch
This commit is contained in:
14
Core/PluginHash.cs
Normal file
14
Core/PluginHash.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace undead_universal_patch_il2cpp.Core;
|
||||
|
||||
public class PluginHash
|
||||
{
|
||||
public static string GetHash()
|
||||
{
|
||||
return BitConverter.ToString(MD5.Create().ComputeHash(File.OpenRead(Assembly.GetExecutingAssembly().Location))).Replace("-", "").ToLowerInvariant();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user