NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

X509Certificate Constructor (X509Certificate)

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
);

Parameters

Cert
Another X509Certificate object to initialize the state of the new X509Certificate with.

Exceptions

Exception Type Condition
ArgumentException if other is not of the same X509Certificate type. ("Must supply an X509Certificate to constructor")

See Also

X509Certificate Class | X509Certificate Members | System.Security.Cryptography.X509Certificates Namespace | X509Certificate Constructor Overload List