public CertificateCollection GetAllCertificates()
Public Function GetAllCertificates As CertificateCollection
The returned collection is not bound to the originating certificate store. For instance, when a certificate is removed from the returned collection, it will remain in the store. To remove a certificate from the store, use DeleteCertificate(Certificate) method.