Adds multiple X509Certificate2 objects in an array to the X509Certificate2Collection object.
public void AddRange(
An array of X509Certificate2 objects.
certificates is null.
Use this method if you have an array of X509Certificate2 objects to add to an X509Certificate2Collection object. The AddRange and RemoveRange methods process requests transactionally, so that if a single add or remove fails, the entire operation is aborted.