- assembly
The assembly to be registered.
- flags
An System.Runtime.InteropServices.AssemblyRegistrationFlags value indicating any special settings needed when registering assembly.
![]()
true if assembly contains types that were successfully registered; otherwise false if the assembly contains no eligible types.
RegisterAssembly adds the appropriate registry entries for the types in the specified assembly. This method also calls any registration functions found in the assembly.
Use System.Reflection.Assembly.Load(string) to get an assembly.