I’ve recently installed Windows 8 Dev preview, though I’ve ran into quite a few issues. Looking at the new C# API, I can say some features are missing. For example, I cannot find a wait to read a file – classical StreamReader no longer takes a filename string but rather an instance of Stream.
What am I missing? I’ve turned the Object Browser inside out, not actually finding anything.
Update: this is obviously the difference between a Portable Class Library and the traditional compilation: http://msdn.microsoft.com/en-us/library/system.io.streamreader.aspx. Hence, is non-portable Windows 8 API available to us yet?
Likely the WinRT doesn’t support that. It should be in the full .NET 4.5.