UtilFileTypeGetFileTypeMatch(String, FileType) Method

Determines whether a file type signature is match in the file header of the specified file, then returns a success percentage from 0% to 100% where 100% means all the file signatures were found in the file header.

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 FileTypeMatch GetFileTypeMatch(
	string filepath,
	FileType filetype
)

Parameters

filepath  String
The source file.
filetype  FileType
A FileType to match in the file header.

Return Value

FileTypeMatch
Returns a FileTypeMatch that contains the match result with the success percentage from 0% to 100% where 100% means all the file signatures were found 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