Table of Contents
Extensions for FileInfo
public static class FileInfoExt
Inheritance System.Object FileInfoExt
Get all Assembly References from this FileInfo. Returns null if there are none
public static System.Reflection.AssemblyName[] GetAllReferences(this System.IO.FileInfo fileInfo);
fileInfo
System.IO.FileInfo
System.Reflection.AssemblyName[]
Returns whether or not this File has a reference to the newer MelonLoader.dll or the older MelonLoader.ModHandler.dll
public static bool IsMelonMod(this System.IO.FileInfo fileInfo);
fileInfo
System.IO.FileInfo
Returns whether or not this File has a reference to the newer MelonLoader.dll (For MelonLoader 3.0 and up)
public static bool IsNewerMelonMod(this System.IO.FileInfo fileInfo);
fileInfo
System.IO.FileInfo
Returns whether or not this File has a reference to the older MelonLoader.ModHandler.dll (For MelonLoader 2.7.4 and
below)
public static bool IsOlderMelonMod(this System.IO.FileInfo fileInfo);
fileInfo
System.IO.FileInfo