Answers for "how can i check permission strage in xamarin"

0

how can i check permission strage in xamarin

if (ContextCompat.CheckSelfPermission(this, Manifest.Permission.WriteExternalStorage) == (int)Permission.Granted) 
{
    // We have permission.
} 
else 
{
    // Storage permission is not granted. If necessary display rationale & request.
}
Posted by: Guest on August-15-2021

Code answers related to "how can i check permission strage in xamarin"

Browse Popular Code Answers by Language