Rhinoceros plugin properties

Hi all.
I’m starting to write a plugin again with RhinoCommon and C#. Last time I did it with Rhino 4.
I am finding many improvements.

A silly question perhaps.
I haven’t found specific examples on how to set the plugin info.
Those that show Rhinoceros in the plugin properties dialog.
In version 4 there was a PlugInVersion() method, in 5 and 6 it seems to be a readonly property…

You need to go to your AssemblyInfo file and add the reference to Rhino. Once you’ve done that you’ll get access to some decorators that do what you want:
(In C#, in AssemblyInfo.cs)

using Rhino.PlugIns;

// Plug-in Description Attributes - all of these are optional
// These will show in Rhino’s option dialog, in the tab Plug-ins
[assembly: PlugInDescription(DescriptionType.Address, “123FakeStreet”)]
[assembly: PlugInDescription(DescriptionType.Email, “contact@me”)]
[assembly: PlugInDescription(DescriptionType.Phone, “+1231”)]
[assembly: PlugInDescription(DescriptionType.WebSite, “www.site.my”)]