Given that *WMI* is *Windows* only and the absence of a registry in operating systems such as *Linux* and *Mac*, how could one obtain processor name in *.NET Core*?

I intend to make the following method (which uses registry) cross platform:

```
private static string GetProcessorName()
{
    var key = Registry.LocalMachine.OpenSubKey(@"HARDWARE\DESCRIPTION\System\CentralProcessor\0\");
    return key?.GetValue("ProcessorNameString").ToString() ?? "Not Found";
}

```

You can assume that I can tell at runtime what *OS* I am running under.