X509Certificate2Collection Constructor ()
Assembly: System (in System.dll)
This constructor creates an empty X509Certificate2Collection object, which is unlike the other constructors that use certificate or collection information to create the object.
The following code example opens the current user's personal certificate store, selects only valid certificates, allows the user to select a certificate, and then writes certificate and certificate chain information to the console. The output depends on the certificate the user selects.
Available since 2.0