Provides a set of services for registering and unregistering managed assemblies for use from COM.
Assembly: mscorlib (in mscorlib.dll)
Registration is needed when the objects within an assembly are being used by COM clients. The Assembly Registration Tool (Regasm.exe) and Microsoft Visual Studio 2005 use methods exposed by the class to add or remove COM-enabling registry entries for managed assemblies.
You can use the following methods to assist you in preparing a registration file:
Although these methods help in gathering information to be used in a registration file, they do not actually produce a registration file. Instead, you can use the Assembly Registration Tool (Regasm.exe) tool with the /regfile option to perform this task. methods cannot export and register a type library. To export and register a type library, you can use the Assembly Registration Tool (Regasm.exe) tool and the Type Library Exporter (Tlbexp.exe) tool.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.