UtilitiesEnsureOverwritable Method |
Ensure that the target path exists and if a file exists there, it is not readonly or hidden.
WARNING: Can throw if target "Filename" calls for a parent directoryname that is already used as a filename by a non-directory.
E.g. EnsureOverwriteable(C:\io.sys\filename.txt); would throw.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static void EnsureOverwritable(
string sFilename
)
Public Shared Sub EnsureOverwritable (
sFilename As String
)
public:
static void EnsureOverwritable(
String^ sFilename
)
Parameters
- sFilename
- Type: SystemString
The candidate filename
See Also