OPC Studio User's Guide and Reference
DeleteFileIfExists Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.FileTransfer Namespace > IEasyUAFileTransferExtension Class : DeleteFileIfExists Method
Deletes an OPC UA file if it exists (does nothing if the file does not exist).

If the file does not exist, the method does nothing (it does not throw an exception).

Overload List
OverloadDescription
Deletes an OPC UA file if it exists, specifying the endpoint descriptor, directory named node path, and existing file name.  
Deletes an OPC UA file if it exists, specifying the endpoint descriptor, and named node descriptor.  
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also