Export (0) Print
Expand All

ICertificate2::Import method

[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP. Instead, use the X509Certificate2 Class in the System.Security.Cryptography.X509Certificates namespace.]

The Import method imports a previously encoded certificate from a string into the Certificate object. Calling this method resets the state of this object.

Syntax


Certificate.Import( _
  ByVal EncodedCertificate _
)

Parameters

EncodedCertificate [in]

A string that contains the encoded certificate data to be imported.

Return value

This method does not return a value.

Requirements

End of client support

Windows Vista

End of server support

Windows Server 2008

Redistributable

CAPICOM 2.0 or later on Windows Server 2003 and Windows XP

DLL

Capicom.dll

See also

Cryptography Objects
Certificate

 

 

Community Additions

ADD
Show:
© 2014 Microsoft