X509IncludeOption Enumeration


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

Specifies how much of the X.509 certificate chain should be included in the X.509 data.

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

public enum X509IncludeOption

Member nameDescription

Only the end certificate is included in the X.509 chain information.


The entire X.509 chain is included except for the root certificate.


No X.509 chain information is included.


The entire X.509 chain is included.

This enumeration specifies how much of the certificate chain to include in X.509 data. You can choose to include the end certificate only; the whole chain; or the whole chain except the root certificate, which is the default.

.NET Framework
Available since 2.0
Return to top