Share via


Close Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Closes an X.509 certificate store.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Public Sub Close
public void Close()
public:
void Close()
member Close : unit -> unit 
public function Close()

Remarks

This method releases all resources associated with the store. You should always close an X.509 certificate store after use.

.NET Framework Security

See Also

Reference

X509Store Class

System.Security.Cryptography.X509Certificates Namespace