X509ExtensionCollectionExtensionsDuplicate Method

Gets a duplicate instance of X509ExtensionCollection collection.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public static X509ExtensionCollection Duplicate(
	this X509ExtensionCollection extensions
)

Parameters

extensions  X509ExtensionCollection
Source collection.

Return Value

X509ExtensionCollection
A copy of source collection. Source and destination collections will hold same references to collection elements.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type X509ExtensionCollection. 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).

Exceptions

ArgumentNullExceptionextensions parameter is null.

See Also