public static string ReadAllString(this IStorageObject obj) { using (var stream = obj.OpenRead()) { using (var tr = new StreamReader(stream)) { return(tr.ReadToEnd()); } } }
public static string ReadAllString(this IStorageObject obj) { using (var stream = obj.OpenRead()) { using (var tr = new StreamReader(stream)) { return(tr.ReadToEnd()); } } }