EasyUA Reference
Find(Boolean) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > CertificateIdentifier Class > Find Method : Find(Boolean) Method

needPrivateKey
if set to true the returned certificate must contain the private key.

Glossary Item Box

Finds a certificate in a store.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As CertificateIdentifier
Dim needPrivateKey As Boolean
Dim value As X509Certificate2
 
value = instance.Find(needPrivateKey)

Parameters

needPrivateKey
if set to true the returned certificate must contain the private key.

Return Value

An instance of the System.Security.Cryptography.X509Certificates.X509Certificate2 that is emebeded by this instance or find it in the selected strore pointed out by the StorePath using selected SubjectName.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.