Click or drag to resize

PemReaderReadPrivateKeyFromFile Method

Reads private key from PEM file (BEGIN RSA PRIVATE KEY / BEGIN PRIVATE KEY).

Namespace:  Limilabs.Cryptography
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public RSACryptoServiceProvider ReadPrivateKeyFromFile(
	string filename
)

Parameters

filename
Type: SystemString
File to read from

Return Value

Type: RSACryptoServiceProvider
Certificate that was read.
See Also