FileExtensions.

OpenRead(IFile) Method

Summary

Opens the file for reading.
Namespace
Cake.Core.IO
Containing Type
FileExtensions

Syntax

public static Stream OpenRead(this IFile file)

Parameters

Name Type Description
file IFile The file.

Return Value

Type Description
Stream A Stream to the file.