I have a shared codebase (dll) that I use for both a Windows and Mac project. I'm looking for the best (supported) way of obtaining the path to the Mac Library folder so my project honors the Mac App Store requirements.
Right now I'm using Environment.SpecialFolder.LocalApplicationData
to get the path but that doesn't give me the correct folder.
Is anyone aware what I should use to get ~/Library/
?
I didn't manage to find anything that mapped directly so I ended up coding the following:
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "Library")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With