|
|
От: | Padavan1 | |
| Дата: | 23.12.07 15:37 | ||
| Оценка: | |||
|
|
От: |
Sentry
|
|
| Дата: | 24.12.07 12:53 | ||
| Оценка: | |||
foreach (X509Certificate2 x509 in fcollection)
{
byte[] certBytes = x509.Export(X509ContentType.Pfx)
using (FileStream stream = File.Create("C:\Cert.pfx", certBytes.Length))
{
stream.Write(certBytes, 0, certBytes.Length);
}
}