PluginManifest Class |
Namespace: VirtualRadar.Interface.Settings
The PluginManifest type exposes the following members.
Name | Description | |
---|---|---|
PluginManifest | Initializes a new instance of the PluginManifest class |
Name | Description | |
---|---|---|
MaximumVersion |
Gets or sets the latest version of Virtual Radar Server that this plugin will work with.
| |
MinimumVersion |
Gets or sets the earliest version of Virtual Radar Server that this plugin will work with.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
The plugin manifest file tells Virtual Radar Server information about your plugin without having to load the plugin DLL. It can be used to make a decision about whether the plugin can be loaded or not.
The file has to be in the same folder as the plugin DLL and have the same filename as the dll but with an extension of .xml
<?xml version="1.0" encoding="utf-8"?> <PluginManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <MinimumVersion>1.0.0</MinimumVersion> <MaximumVersion>1.0.1</MaximumVersion> </PluginManifest>