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 existsTarget Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.x