Пример кода
Код: Выделить всё
FileCreationInformation fileCreation = new FileCreationInformation()
{
ContentStream = new System.IO.MemoryStream(System.IO.File.ReadAllBytes(file.SourceFilePath)),
Overwrite = true,
Url = file.FileName
};
var uploadFile = folder.Files.Add(fileCreation);
_clientContext.Load(uploadFile);
await _clientContext.ExecuteQueryAsync();
Подробнее здесь: https://stackoverflow.com/questions/783 ... ot-working
Мобильная версия