/// <summary> /// 获取保存的图片 /// </summary> /// <param name="name"></param> /// <returns></returns> public static async Task <byte[]> GetImage(string name) { try { StorageFile img = await Folder.GetFileAsync(name); return(await ImageHelper.AsByteArray(img)); } catch (Exception) { // pass } return(null); }