Click or drag to resize
Cimbalino ToolkitIStorageServiceHandlerReadAllBytesAsync Method
Opens a binary file, reads the contents of the file into a byte array, and then closes the file. Returns null, if an exception is raised.

Namespace: Cimbalino.Toolkit.Services
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
Task<byte[]> ReadAllBytesAsync(
	string path
)

Parameters

path
Type: SystemString
The file to open for reading.

Return Value

Type: TaskByte
The Task object representing the asynchronous operation.
Version Information

Portable

Supported in: 4.5

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also