Class FileUtils
Utility class for file operations
Inherited Members
Namespace: Serenity.Shared.Utils
Assembly: Serenity.Shared.dll
Syntax
public static class FileUtils
Methods
ReadFile(string)
Read the entire content of a file as a string
Declaration
public static string ReadFile(string path)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | The file path to read from |
Returns
| Type | Description |
|---|---|
| string | The content of the file as a string |