Method | 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. |
return | bool |
public static CreateTempFile ( ) : |
||
return |
public static CreateTempFile ( |
||
content | The stream from which to create a file. | |
return |
public static CreateTempFile ( string content ) : |
||
content | string | The file content. |
return |
public static ReadText ( |
||
file | The file's |
|
return | string |
public static ReadText ( string path ) : string | ||
path | string | The file's path. |
return | string |
public static ReadTextAsync ( |
||
file | The file's |
|
return | Task |
public static ReadTextAsync ( string path ) : Task |
||
path | string | The file's path. |
return | Task |