Saturday, September 28, 2013

Read/Write to a file in Portable class Library

You will open a StorageFile in your non-PCL Windows Store app code and open it as a stream with AsStreamForWrite or similar. You can then pass the .Net stream to your PCL. See WindowsRuntimeStreamExtensions.AsStreamForWrite Method ...‎ for an example of opening a StorageFile and getting a .Net stream.

No comments:

Post a Comment