X509IncludeOption Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

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
public enum X509IncludeOption
public enum X509IncludeOption

 Member nameDescription
EndCertOnlyOnly the end certificate is included in the X.509 chain information. 
ExcludeRootThe entire X.509 chain is included except for the root certificate. 
NoneNo X.509 chain information is included. 
WholeChainThe 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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions