DsNTAuthContainerAddCertificate Method
Adds CA certificate to NTAuth entry in Active Directory.
Namespace: SysadminsLV.PKI.Management.ActiveDirectoryAssembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
public bool AddCertificate(
X509Certificate2 cert
)
Public Function AddCertificate (
cert As X509Certificate2
) As Boolean
public:
bool AddCertificate(
X509Certificate2^ cert
)
member AddCertificate :
cert : X509Certificate2 -> bool
- cert X509Certificate2
- CA certificate to add.
BooleanTrue if this is a new certificate and no duplicates exist. If certificate entry
already exists in internal list, method returns
False.