title: Register a C#/VB.NET COM dll programmatically
body: <p>Question: I have a .NET dll which I use from a C++ program.
  Now I have to register the dll programmatically on a deployment computer.</p>
  
  <p>How do I do that (programmatically! not using regasm)? 
  I remember, when I once called a VB6 dll from a C++ dll, I had to use DllRegisterServer and DllUnregisterServer.</p>
  
  <p>Is that still so with a .NET dll?<br>
  It seems I have to somehow add the dllregisterserver function to the .NET dll.</p>