'Usage
Dim instance As _EasyUAClientApplication Dim filePath As String instance.ExportSecuredApplicationToFile(filePath)
Parameters
- filePath
- The name of the file into which the settings will be exported.
'Usage
Dim instance As _EasyUAClientApplication Dim filePath As String instance.ExportSecuredApplicationToFile(filePath)
Exception | Description |
---|---|
System.ArgumentNullException | A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. |
OpcLabs.EasyOpc.UA.OperationModel.UAException | The OPC UA operation has failed. |
System.Exception | An error has occurred during method execution. |
If the specified file does not exist, it is created; if it does exist and it is not read-only, the contents are overwritten.
This method exports the security settings in the format described in OPC UA Specification Part 6, Annex "Security settings management". The file conforms to the SecuredApplication schema.