title: How to get cross-platform system model name with .NET 5?
body: <p>I'm developing a cross-platform application in C# / NET 5, it will run on both Windows and MacOS. I need to print the &quot;manufacturer model name&quot; of the running system. On Windows, this is more or less what is returned by querying the WMI class <code>Win32_ComputerSystem</code>. For example the &quot;Name&quot; field:</p>
  <pre><code>  Caption:  Computer System Product
    Description:  Computer System Product
    IdentifyingNumber:  &lt;hidden&gt;
    Name:  Inspiron 7370  **&lt;--- I need to print this kind of info!**
    UUID:  &lt;hidden&gt;
    Vendor:  Dell Inc.
    Version:  
  </code></pre>
  <p>The software will run also on MacOS, so I need a common way to retrieve, example, &quot;Apple Mac Mini&quot; or similar string. I assume it won't be possible to get it via WMI.</p>
  <p>Is there a cross-platform solution? Thanks</p>