StorageFileHelper.ReadBytesAsync(StorageFile) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an array of bytes from a Windows.Storage.StorageFile.
public static System.Threading.Tasks.Task<byte[]> ReadBytesAsync (this Windows.Storage.StorageFile file);
static member ReadBytesAsync : Windows.Storage.StorageFile -> System.Threading.Tasks.Task<byte[]>
<Extension()>
Public Function ReadBytesAsync (file As StorageFile) As Task(Of Byte())
Parameters
- file
- Windows.Storage.StorageFile
The Windows.Storage.StorageFile.
Returns
The stored Byte array.