silverlight - C# How save a MemoryStream after a FileSavePicker -


I have an app called Windows Phone 8.1 Silverlight and I am using FileSavePicker but to save me a memory string Sample not found. This is my code after PickSaveFileAndContinue (); Thanks for some help!

the public async zero release file open picture (File Alert Picture Continuation Event ARGR) {if "(ContinuousActionData [" Operation "] in the form of the string (= arguments") == "Update ProfileFile". ;! = Null) Using {var file = args.File; (IRandomAccessStream tileStream = await file.OpenAsync (FileAccessMode.ReadWrite)) {// GiveMyPhoto () is a method that returns to my MemoryStream (App. Current as App) .FilePickerContinuationArgs = null;}}

Your var file In fact one < Code> Storage File File . Windows.Storage.FileIO namespace requires all.

Example

  MemoryStream stream = GiveMyPhoto (); Wait for Windows storage_fileIORITBarAsICINC (file, stream.Gat windowRuntMbuffers (0, (stream));  

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -