Click or drag to resize

X500DistinguishedNameExtensionsGetRdnAttributes Method

Converts an X500DistinguishedName instance in to a collection of individual RDN attributes.

Namespace:  SysadminsLV.PKI.Utils.CLRExtensions
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public static X500RdnAttributeCollection GetRdnAttributes(
	this X500DistinguishedName name
)

Parameters

name
Type: System.Security.Cryptography.X509CertificatesX500DistinguishedName
Existing instance of X500DistinguishedName.

Return Value

Type: X500RdnAttributeCollection
A collection of RDN attributes.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type X500DistinguishedName. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also