AppHarbor.PhysicalFileSystem.OpenRead C# (CSharp) Method

OpenRead() public method

public OpenRead ( string path ) : Stream
path string
return System.IO.Stream
        public Stream OpenRead(string path)
        {
            var file = new FileInfo(path);
            if (file.Exists)
            {
                return file.OpenRead();
            }

            throw new FileNotFoundException();
        }