Class PluginMetadata
Reads a DLL's BepInEx metadata without loading it, as BepInEx's chainloader decides what to load: the
[BepInPlugin], [BepInDependency], [BepInIncompatibility] and [BepInProcess] attributes on its
types, matched by full type name as BepInEx matches them, and the assembly references the runtime will resolve. A file
name says nothing here: a renamed DLL declares the same plugin, and a DLL named like a plugin may declare none.
public static class PluginMetadata
- Inheritance
-
objectPluginMetadata
Methods
Read(string)
The metadata of the DLL at path; refuses a file that is not a .NET assembly.
public static PluginAssembly Read(string path)
Parameters
pathstring