Method GetReadOnlyTempFile
GetReadOnlyTempFile(string, bool)
Gets a read-only temporary file path with the specified extension.
string GetReadOnlyTempFile(string extension = null, bool useNonRoamingFolder = false)
Parameters
extension
stringThe extension of the temporary file. Default is null.
useNonRoamingFolder
boolSpecifies whether to use a non-roaming folder. Default is false.
Returns
- string
The read-only temporary file path.