EasyUA Reference
ConfigUtils Class Members
See Also  Methods  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace : ConfigUtils Class

Glossary Item Box

The following tables list the members exposed by ConfigUtils.

Public Constructors

 NameDescription
Public ConstructorConfigUtils Constructor  
Top

Public Methods

 NameDescription
Public Methodstatic (Shared in Visual Basic)CertificateAddAccount Add the specified user account to the certificate private key read access permissions.  
Public Methodstatic (Shared in Visual Basic)CreateApplicationCertificateOverloaded.  Creates a default application certificate in the store according the application configuration  
Public Methodstatic (Shared in Visual Basic)CreateDefaultConfigurationFile Crates a default UA configuration XML file  
Public Methodstatic (Shared in Visual Basic)GetApplicationCertificate Load the application certificate from the configured store.  
Public Methodstatic (Shared in Visual Basic)GetUaConfigurationLoad the UA configuration settings for this UA client application from the XML file.
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.  
Public Methodstatic (Shared in Visual Basic)GetUaConfigurationFileName Get the path name of the UA application configuration file. Either AppSettings["UaConfigurationFile"] or the application path with ".Ua.Config.Xml" appended.  
Public Methodstatic (Shared in Visual Basic)ImportServerCertificate The specified certificate is imported into the Trusted UA Peer Certificate store defined in the application UA configuration.  
Public Methodstatic (Shared in Visual Basic)SaveCertificateAsTrusted Write the certificate to the store configured for trusted peer certificates.  
Public Methodstatic (Shared in Visual Basic)WriteUaConfiguration Writes the UA configuration to the specified XML file.  
Top

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.