Click or drag to resize

CertificateHelpersGetCertificateFromStore Method

Returns a certificate from the store location specified

Namespace:  Crosser.Server.Utilities
Assembly:  Crosser.Server (in Crosser.Server.dll) Version: 0.0.5
Syntax
C#
public static X509Certificate2 GetCertificateFromStore(
	string certName,
	StoreLocation location = StoreLocation.LocalMachine
)

Parameters

certName
Type: SystemString
Distinguished name
location (Optional)
Type: System.Security.Cryptography.X509CertificatesStoreLocation
Store location

Return Value

Type: X509Certificate2
See Also