Click or drag to resize
SynchronizationEngineHostReadFromFileAsync Method
Reads the contents of file asynchronously if it exists.

Namespace: Oracle.Cloud.Mobile.Synchronization
Assembly: Oracle.Cloud.Mobile.Synchronization.PCL (in Oracle.Cloud.Mobile.Synchronization.PCL.dll) Version: 16.1.3.1 (16.1.3.1)
Syntax
public abstract Task<Stream> ReadFromFileAsync(
	string parentPath,
	string fileName
)

Parameters

parentPath
Type: SystemString
The path to the parent folder.
fileName
Type: SystemString
The name of the file in the parent folder to write to.

Return Value

Type: TaskStream
The stream with the file contents, or a 0-byte stream if the file doesn't exist.
See Also