Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Upgrading toolkit form 5.35 to 5.59 - General question - by: Restrepo

$
0
0
Hello Z,

I am currently working with a customer that is upgrading to the newest version of the SDK (5.59). He was originally using 5.35 so you can imagine the number of changes they are making given that some namespaces/classes/members were changed/modified throughout the years. I have been able to assist them in finding most of the properties that they need to update to get going with the newest version. However, I am having a bit of trouble understanding how to use property CertificateAcceptancePolicy. Well, let me be more clear, I am having trouble relating the current use of this property to how it was used previously. For instance, my customer used to have this on his application (v5.35):

_opcUaClient.IsolatedParameters.Session.CertificateAcceptancePolicy.AcceptAnyCertificate
_opcUaClient.IsolatedParameters.Session.CertificateAcceptancePolicy.AllowUserAcceptCertificate

But under the new version, one can find the property under

EasyUAClient.SharedParameters.EngineParameters.CertificateAcceptancePolicy

Now, it looks like my client has multiple clients in his application, and I am a bit confused given that the property now seats under "SharedParameters.EngineParameters" but my client needs to change this for every single Client instance that he is utilizing in his application. In other words, EasyUAClient1 might need a different acceptance policy than EasyUAclient2.

Would you mind sharing with me or pointing me in the right direction on how to achieve this? Or perhaps I am misunderstanding the current use of the property and it is not applied across all clients in which case the ShareParameters class makes it a bit misleading. Please do let me know how wrong I am about my understanding or if you need more context.

thank you in advance,

Viewing all articles
Browse latest Browse all 1794

Trending Articles