Compartir a través de


(X509Certificate2, X509ContentType) del método SecureStoreCertificateHelper.FromCertificate

Crear una cadena de seguro del objeto X509Certificate2 determinado.

Espacio de nombres:  Microsoft.BusinessData.Infrastructure.SecureStore
Ensamblado:  Microsoft.BusinessData (en Microsoft.BusinessData.dll)

Sintaxis

'Declaración
Public Shared Function FromCertificate ( _
    certificate As X509Certificate2, _
    contentType As X509ContentType _
) As SecureString
'Uso
Dim certificate As X509Certificate2
Dim contentType As X509ContentType
Dim returnValue As SecureString

returnValue = SecureStoreCertificateHelper.FromCertificate(certificate, _
    contentType)
public static SecureString FromCertificate(
    X509Certificate2 certificate,
    X509ContentType contentType
)

Parámetros

Valor devuelto

Tipo: System.Security.SecureString

Vea también

Referencia

clase SecureStoreCertificateHelper

Miembros SecureStoreCertificateHelper

Sobrecarga FromCertificate

Espacio de nombres Microsoft.BusinessData.Infrastructure.SecureStore