CertificateList Object : Find Method |
Visual Basic |
---|
Public Sub Find( _ ByVal Name As String, _ ByVal Location As StoreLocationConstants, _ ByVal IssuedBy As String, _ ByVal SerialNumber As String, _ ByVal Value As Certificate _ ) |
Value | Description |
---|---|
locationCurrentUser | Store is located in the HKEY_CURRENT_USER registry key. |
locationLocalMachine | Store is located in the HKEY_LOCAL_MACHINE registry key. |
locationRemote | Used by a Certificate that is not part of a store. |
This method is used to do a quick lookup of the specified certificate.
This method may generate the following error code (refer to CertificateErrorConstants for a complete list of error codes):