Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Properties property retrieves an IWMSNamedValues collection containing name-value pairs that describe the plug-in.
IWMSNamedValues = Plugin.Properties;
Property Value
An IWMSNamedValues collection.
Remarks
This property is read-only. For more information, see IWMSNamedValuesIWMSNamedValues Object (C#) and IWMSNamedValueIWMSNamedValue Object (C#).
Example
using Microsoft.WindowsMediaServices.Interop;
using System.Runtime.InteropServices;
// Declare variables.
WMSServer Server;
IWMSPlugins Plugins;
IWMSPlugin Plugin;
IWMSNamedValues Properties;
try {
// Create a new WMSServer object.
Server = new WMSServerClass();
// Retrieve the IWMSPlugins object.
Plugins = Server.Authenticators;
// Retrieve information about each plug-in.
for (int i = 0; i < Plugins.Count; i++)
{
Plugin = Plugins[i];
// Retrieve a pointer to a collection of name-value
// pairs containing plug-in properties.
Properties = Plugin.Properties;
}
}
catch (COMException comExc) {
// TODO: Handle COM exceptions.
}
catch (Exception e) {
// TODO: Handle exceptions.
}
Requirements
Reference: Add a reference to Microsoft.WindowsMediaServices.
Namespace: Microsoft.WindowsMediaServices.Interop.
Assembly: Microsoft.WindowsMediaServices.dll.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003 family, Windows Server 2008 family.