‘I often find myself googling “simple” questions like how to write text to a file in the most quickly and effectively way. Most results are either blog posts using .NET 2 as an example, or StackOverflow answers from 2010. Common for all samples is that only the essential lines of code are added, and no focus on crucial aspects like error handling are highlighted.’
FileStream, a good choice for writing asynchronously to a file from .NET is using the FileStream class. Add true (useAsync parameter) as the last parameter to the FileStream constructor. This tells the FileStream to use asynchronous IO.
Exception handling, including Problems with the path(DirectoryNotFoundException, UnauthorizedAccessException) and Problems while writing to disk(IOException).
While Microsoft has been full steam ahead on the augmented reality side of Windows Mixed Reality via HoloLens, the company has had very little to say in the last year about the VR side of its platform. While it may look like Microsoft has largely given up on the effort, the company tells us that it remains committed.