CertificateStore Object : Find Method |
Visual Basic |
---|
Public Function Find( _ ByVal Name As String, _ ByVal Location As StoreLocationConstants, _ ByVal IssuedBy As String, _ ByVal SerialNumber As String _ ) 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):