Hello,
Welcome to Microsoft Q&A!
CreateStreamedFileAsync Method
creates a StorageFile
to represent the specified stream of data.This method lets the app produce the data on-demand by specifying a function to be invoked when the StorageFile that represents the stream is first accessed.
Use StreamedFileDataRequestedHandler
produce the data stream represented by the returned StorageFile and lets the app produce data on-demand instead of writing the contents of the file at creation time.
For more details about how to create and write a file with StorageFile. I suggest you could refer to the Doc:Create, write, and read a file
Thank you.
Jeanine
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.