3.1.1 Get Application Settings from SecuredApplication

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
dfeywyatt
Jr. Member
Jr. Member
Posts: 3
Joined: 06 Apr 2022, 22:51

3.1.1 Get Application Settings from SecuredApplication

Post by dfeywyatt »

Hello,

I am working on an upgrade to UA Dll's, and I was wondering how to extract Application Settings from a SecuredApplication object. In the previous verion, I could simply call:

ApplicationInstance.Default.SetApplicationSettings(application)

where application is a populated SecuredApplication object.

With the new version, I am using

ApplicationInstanceBase.Default.SetApplicationSettings

But this expects an Iconfiguration object.

How can I properly set the settings from the populated SecuredApplciation object.

Thank you!

dfeywyatt
Jr. Member
Jr. Member
Posts: 3
Joined: 06 Apr 2022, 22:51

Re: 3.1.1 Get Application Settings from SecuredApplication

Post by dfeywyatt »

As a follow up for anyone who may have the same issue, using a ConfigurationInMemory object instead of a SecuredApplication object fixes the issue.

Post Reply