X509Certificate Constructor (X509Certificate)
Silverlight
Initializes a new instance of the X509Certificate class using another X509Certificate class.
Namespace: System.Security.Cryptography.X509Certificates
Assembly: mscorlib (in mscorlib.dll)
Parameters
- cert
- Type: System.Security.Cryptography.X509Certificates.X509Certificate
A X509Certificate class from which to initialize this class.
| Exception | Condition |
|---|---|
| CryptographicException | An error with the certificate occurs. For example:
|
| ArgumentNullException | The value of the cert parameter is null. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.