I would like to use some code that replaces the deprecated method Environment.GetExternalStoragePublicDirectory and found some that uses a preprocessor statement
#if MONOANDROID10_0
for android 10 and higher.
How does MONOANDROID10_0 get set? It must be based on the device that it is being run on, but how? Any insight would be appreciated.
Thanks