UtilFileTypeGetFileTypeMatches(FileInfo) Method

Tries to detect the file type of the specified file by analyzing a collection of known file type signatures on the file header, then returns a ListT that contains the success percentage (0%...100%) of each file type found (if any).

Definition

Namespace: DevCase.Core.IO.FileSystem
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static List<FileTypeMatch> GetFileTypeMatches(
	FileInfo file
)

Parameters

file  FileInfo
The source file.

Return Value

ListFileTypeMatch
A ListT which contains the match results of the file types that were found (if any) in the file header.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also