Append To File

Mar 31, 2014 at 3:36 PM
Excellent API. However, I don't see a way to append contents to a file. Am I missing something?
Mar 31, 2014 at 4:07 PM
I think I answered my question. In case anyone else is looking for the same.

using (StreamWriter writer = new StreamWriter(await file.OpenAsync(FileAccess.ReadAndWrite)))
{
writer.BaseStream.Seek(0, SeekOrigin.End);
await writer.WriteLineAsync(message);
}