inohilog

/var/log/inohiro.log

MMCスナップインの開発と追加。

MMC: Microsoft Management Console
Microsoft 管理コンソールを使用してカスタム MMC スナップイン ツールを作成する方法 - Microsoft Support Online
How-To Create a Hello World Snap-in - MSDN Library(en-us)
Creating an MMC Snapin Using C# (Part I) - CodeGuru
Microsoft.ManagementConsole Namespace - MSDN Library(en-us)
MMC Technology Summary - MSDN Library(en-us)
SnapInInstaller Class - MSDN Library(en-us)

Hello MMC World

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Security.Permissions;
using System.Text;
using Microsoft.ManagementConsole;
using System.Configuration.Install;

[assembly: PermissionSetAttribute(SecurityAction.RequestMinimum, Unrestricted = true )]

namespace Microsoft.ManagementConsole.Sample
{
	[RunInstaller( true )]
	public class InstallUtilSupport : SnapInInstaller
	{
	}

	[SnapInSettings("{CFAA3895-4B02-4431-A168-A6416013C3DD}", 
		DisplayName = "- sample snapin",
		Description = "Simple Hello Wrold Snapin") ]
	public class SimpleSnapin : SnapIn
	{
		public SimpleSnapin()
		{
			this.RootNode = new ScopeNode();
			this.RootNode.DisplayName = "Hello, sample mmc snapin";
		}
	}
}