摘要:
1、文件选择FileOpenPicker filePicker = new FileOpenPicker() { ViewMode = PickerViewMode.Thumbnail }; //只有图片 filePicker.SuggestedStartLocation = PickerLocationId.PicturesLibrary; FillDecoderExtensions(filePicker.FileTypeFilter); StorageFile imageFile = await filePicke... 阅读全文
摘要:
private StorageFile _storageFile;/// <summary> /// 上传文件 /// </summary> /// <param name="url"></param> /// <returns></returns> public async Task<object> UpLoad(string url) { try { //读取文件流 Stream _stream = aw... 阅读全文