Share via


MessageCertificateX509File.Find Method (StoreLocation, String, X509FindType, String)

 

Attempts to find a certificate and assign the property information to select the matching certificate. If there are multiple matches, only the first match will be returned.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static MessageCertificateX509File Find(
    StoreLocation storeLocation,
    string storeName,
    X509FindType findType,
    string findByValue
)
public:
static MessageCertificateX509File^ Find(
    StoreLocation storeLocation,
    String^ storeName,
    X509FindType findType,
    String^ findByValue
)
Public Shared Function Find (
    storeLocation As StoreLocation,
    storeName As String,
    findType As X509FindType,
    findByValue As String
) As MessageCertificateX509File

Parameters

Return Value

Type: Microsoft.ConfigurationManagement.Messaging.Framework.MessageCertificateX509File

See Also

Find Overload
MessageCertificateX509File Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top