Méthode | Description | |
---|---|---|
AreFilesEqual ( string file1, string file2 ) : bool |
Compares two files based on their contents. Source: https://support.microsoft.com/en-us/kb/320348
|
|
CreateTempFile ( ) : |
Creates a temporary file.
|
|
CreateTempFile ( |
Creates a temporary file from a supplied Stream.
|
|
CreateTempFile ( string content ) : |
Creates a temporary file with the specified string as a content.
|
|
ReadText ( |
Reads a file as a text file.
|
|
ReadText ( string path ) : string |
Reads a file as a text file.
|
|
ReadTextAsync ( |
Reads a file as a text file asynchronously.
|
|
ReadTextAsync ( string path ) : Task |
Reads a file as a text file asynchronously.
|
public static AreFilesEqual ( string file1, string file2 ) : bool | ||
file1 | string | One file to be compared. |
file2 | string | Another file to be compared. |
Résultat | bool |
public static CreateTempFile ( ) : |
||
Résultat |
public static CreateTempFile ( |
||
content | The stream from which to create a file. | |
Résultat |
public static CreateTempFile ( string content ) : |
||
content | string | The file content. |
Résultat |
public static ReadText ( |
||
file | The file's |
|
Résultat | string |
public static ReadText ( string path ) : string | ||
path | string | The file's path. |
Résultat | string |
public static ReadTextAsync ( |
||
file | The file's |
|
Résultat | Task |
public static ReadTextAsync ( string path ) : Task |
||
path | string | The file's path. |
Résultat | Task |