Skip to main content

X509Certificate2 releases resources

kalau dah lepas pakai X509Certificate2, release le dari memory selepas dipakai. kalau buat sistem hi-speed dan loading certificate beribu-ribu kali, lama2 memory pon habis.

cert.Reset(); //buang isi kandungan cert yang load tadi

source: https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.x509certificate2.reset?redirectedfrom=MSDN&view=netframework-4.7.2

Comments

Popular posts from this blog

AI Tools 12 For Marketing

 AI Tools 12 For Marketing

AI Tools 10

 AI Tools 10

AI Tools 5

 AI Tools 5