Нужно ли мне что-то изменить в учетной записи разработчика или каких-либо конкретных разрешениях?
Код: Выделить всё
string fileName = nombreFile + ".pdf";
string documentsPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
string path = System.IO.Path.Combine(documentsPath, fileName);
using (FileStream fileStream = new FileStream(path, FileMode.Create, FileAccess.Write))
{
await documentStream.CopyToAsync(fileStream);
}
Подробнее здесь: https://stackoverflow.com/questions/791 ... s-net-maui
Мобильная версия