I am trying to read a file in my Windows 8 Store App. Here is a fragment of code I use to achieve this:
if(file != null) { var st
Try this instead of string text = dataReader.ReadString(numbytes):
string text = dataReader.ReadString(numbytes)
dataReader.ReadBytes(stream); string text = Convert.ToBase64String(stream);