[]
        
(Showing Draft Content)

C1.Util.DX.Storage.NativeFile

NativeFile Class

Windows File Helper.

Inheritance
NativeFile
Namespace: C1.Util.DX.Storage
Assembly: C1.Win.C1DX.4.8.dll
Syntax
public static class NativeFile

Methods

Name Description
Exists(string)

Checks if the specified file path exists.

GetLastWriteTime(string)

Gets the last write time access for the specified path.

ReadAllBytes(string)

Opens a binary file, reads the contents of the file into a byte array, and then closes the file.

ReadAllText(string)

Opens a text file, reads all lines of the file, and then closes the file.

ReadAllText(string, Encoding, NativeFileShare)

Opens a text file, reads all lines of the file, and then closes the file.