The method is provided to give the application simple access to the configuration settings. E.g. access to the certificate settings can be used to manage the certificates.
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim configFileName As String Dim value As ApplicationConfiguration value = ConfigUtils.GetUaConfiguration(configFileName) | |
| C# | |
|---|---|
public static ApplicationConfiguration GetUaConfiguration( string configFileName ) | |
Parameters
- configFileName
- The path name of the XML UA configuration file.
Return Value
The UA configuration loaded from the XML file.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x