QuickOPC User's Guide and Reference
PkiChain Constructor(Boolean)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.Cryptography.PkiCertificates Namespace > PkiChain Class > PkiChain Constructor : PkiChain Constructor(Boolean)
true to use the machine context; false to use the current user context.
Initializes a new instance of the class specifying a value that indicates whether the machine context should be used.
Syntax
'Declaration
 
<SecurityCriticalAttribute()>
Public Function New( _
   ByVal useMachineContext As Boolean _
)
'Usage
 
Dim useMachineContext As Boolean
 
Dim instance As New PkiChain(useMachineContext)
[SecurityCritical()]
public PkiChain( 
   bool useMachineContext
)
[SecurityCritical()]
public:
PkiChain( 
   bool useMachineContext
)

Parameters

useMachineContext
true to use the machine context; false to use the current user context.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also