Share via


IFileInfo Interface

Represents base class that provides file information.

Namespace:  Microsoft.Owin.FileSystems
Assembly:  Microsoft.Owin.FileSystems (in Microsoft.Owin.FileSystems.dll)

Syntax

'Declaration
Public Interface IFileInfo
'Usage
Dim instance As IFileInfo
public interface IFileInfo
public interface class IFileInfo
type IFileInfo =  interface end
public interface IFileInfo

The IFileInfo type exposes the following members.

Properties

  Name Description
Public property IsDirectory Gets a value that indicates whether the path name of the object represented by a file object is a directory.
Public property LastModified Gets the time of the last modification to the file.
Public property Length Gets the size of the file.
Public property Name Gets the name of the file.
Public property PhysicalPath Gets the physical path corresponding to the file.

Top

Methods

  Name Description
Public method CreateReadStream Creates a readable stream for this file.

Top

See Also

Reference

Microsoft.Owin.FileSystems Namespace