C# Class NLog.Internal.FileCharacteristicsHelper

Optimized routines to get the basic file characteristics of the specified file.
Show file Open project: NLog/NLog

Public Methods

Method Description
CreateHelper ( bool forcedManaged ) : FileCharacteristicsHelper

Initializes static members of the FileCharacteristicsHelper class.

GetFileCharacteristics ( string fileName, FileStream fileStream ) : NLog.Internal.FileCharacteristics

Gets the information about a file.

Method Details

CreateHelper() public static method

Initializes static members of the FileCharacteristicsHelper class.
public static CreateHelper ( bool forcedManaged ) : FileCharacteristicsHelper
forcedManaged bool
return FileCharacteristicsHelper

GetFileCharacteristics() public abstract method

Gets the information about a file.
public abstract GetFileCharacteristics ( string fileName, FileStream fileStream ) : NLog.Internal.FileCharacteristics
fileName string Name of the file.
fileStream System.IO.FileStream The file stream.
return NLog.Internal.FileCharacteristics