Click or drag to resize
PluginManifest Class
A class that represents the content of a plugin manifest file.
Inheritance Hierarchy
SystemObject
  VirtualRadar.Interface.SettingsPluginManifest

Namespace: VirtualRadar.Interface.Settings
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public class PluginManifest

The PluginManifest type exposes the following members.

Constructors
  NameDescription
Public methodPluginManifest
Initializes a new instance of the PluginManifest class
Top
Properties
  NameDescription
Public propertyMaximumVersion
Gets or sets the latest version of Virtual Radar Server that this plugin will work with.
Public propertyMinimumVersion
Gets or sets the earliest version of Virtual Radar Server that this plugin will work with.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

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

Examples
The manifest file is XML and an example is laid out below. Please refer to the various properties of this class for an explanantion of the different elements:
<?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>
See Also