X509Certificate.CreateFromSignedFile Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

static member CreateFromSignedFile : 
        filename:string -> X509Certificate


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.


for the ability to read the file specified by the filename parameter. Associated enumeration: FileIOPermissionAccess.Read

.NET Framework
Available since 1.1
Return to top