.NET Standard 2.0 - Windows Registry - works on Mac OS X


I have my project (originally developed on Windows) on API Compatibility Level set to .NET Standard 2.0, and in my project I have an external .dll class library compiled also as .NET Standard 2.0 in which is used Microsoft.Win32. I am saving some data to the Windows Registry.

Now I am adapting the project to work on Mac too, and I found that my external .dll with the Registry thing is working with no error on my Mac also.

I’ve been trying to find where could that data be stored, as Mac’s OS X doesn’t have a Windows like Registry?

Why and how is this working?

I found where the data is being saved:

I had to search manually listing all folder content using terminal: ls -a