title: C# Marshal.GetActiveObject() alternative for Outlook Automation on .NET 5.0
body: <p>I'm going to start a new project for Outlook interaction from external application (mail subject manipulation, clearing subject from Re: Fw: etc.. add subject tags, research subject tags in external DB etc..).
  I'm used to call <code>Marshall.GetActiveObject()</code> method to take control of already running <code>Outlook Application</code>.</p>
  <p>With the release of <strong>.NET 5.0</strong> I discovered that <code>Marshall.GetActiveObject()</code> method is no more available.</p>
  <p>Is there an alternative way to do that?
  I want to use <strong>.NET 5.0</strong> instead of <strong>.NET Framework</strong> in order to avoid any further problem with .NET Framework deprecations.</p>
  <p>Thanks in advance, brgds.</p>