OPCDA.NET-UA
CreateDefaultConfigurationFile Method
See Also  Send Feedback
OpcDaNetUaOption.Net4 Assembly > Opc.Ua.ClientDA Namespace > ClientUtils Class : CreateDefaultConfigurationFile Method

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

Glossary Item Box

Creates a default UA configuartion XML file. Throws exception on error.

Syntax

Visual Basic (Declaration) 
Public Shared Function CreateDefaultConfigurationFile( _
   ByVal cfgFilename As String, _
   ByVal appName As String _
) As Integer
C# 
public static int CreateDefaultConfigurationFile( 
   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.