SaveFile Method
- Last UpdatedNov 06, 2025
- 1 minute read
The SaveFile() method saves data to the specified file. If the file already exists, it will be overwritten. If the file does not already exist, it will be created.
This overload of the method passes the data as a string.
| Overload | Description |
|---|---|
| SaveFile(String,String) | The SaveFile() method saves data to the specified file. If the file already exists, it will be overwritten. If the file does not already exist, it will be created. This overload of the method passes the data as a string. |
| SaveFile(String,Byte[]) | The SaveFile() method saves data to the specified file. If the file already exists, it will be overwritten. If the file does not already exist, it will be created. This overload of the method passes the data as a byte array. |