X509Certificate.Import Method (Byte[])
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Populates the X509Certificate object with data from a byte array.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- rawData
- Type:
System.Byte
[]
A byte array containing data from an X.509 certificate.
| Exception | Condition |
|---|---|
| ArgumentException | The rawData parameter is null. -or- The length of the rawData parameter is 0. |
This method can be used to take the raw byte array of an X.509 certificate and populate the X509Certificate object with its associated values.
Show: