Export (0) Print
Expand All

X509Certificate.CreateFromSignedFile Method

Creates an X.509v3 certificate from the specified signed file.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  mscorlib (in mscorlib.dll)

public static X509Certificate CreateFromSignedFile(
	string filename
)

Parameters

filename
Type: System.String

The path of the signed file from which to create the X.509 certificate.

Return Value

Type: System.Security.Cryptography.X509Certificates.X509Certificate
The newly created X.509 certificate.

ASN.1 DER is the only certificate format supported by this class.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft