OPCAE.NET-UA
CreateDefaultConfigurationFile Method
See Also  Send Feedback
Opc.Ua.ClientAE 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. Thows 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 2003/2008/2012/2016, NET 4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.