OPCDA.NET-UA
createDefaultConfig Method
See Also  Send Feedback
OpcDaNetUaOption.Net4 Assembly > Opc.Ua.Client Namespace > ConfigUtils Class : createDefaultConfig Method

cfgFilename
path of the file to be created.
appName
Application name defined in the configuration

Glossary Item Box

Crates a default UA configuartion XML file

Syntax

Visual Basic (Declaration) 
Public Shared Function createDefaultConfig( _
   ByVal cfgFilename As String, _
   ByVal appName As String _
) As Integer
C# 
public static int createDefaultConfig( 
   string cfgFilename,
   string appName
)

Parameters

cfgFilename
path of the file to be created.
appName
Application name defined in the configuration

Return Value

0:file created, 2:file already exists

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.7.2

See Also

Copyright © 2020 Advosol Inc. All Rights Reserved.