forked from zombieb/undead-universal-patch-il2cpp
14 lines
374 B
C#
14 lines
374 B
C#
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();
|
|
}
|
|
} |