Initializes an instance of the X509Certificate class with an existing instance.
[Visual Basic] Overloads Public Sub New( _ ByVal Cert As X509Certificate _ ) [C#] public X509Certificate( X509Certificate Cert ); [C++] public: X509Certificate( X509Certificate* Cert ); [JScript] public function X509Certificate( Cert : X509Certificate );
Exception Type | Condition |
---|---|
ArgumentException | if other is not of the same X509Certificate type. ("Must supply an X509Certificate to constructor") |
X509Certificate Class | X509Certificate Members | System.Security.Cryptography.X509Certificates Namespace | X509Certificate Constructor Overload List