thanks! I tried your code and it works. i had only to chnge the "Program Files" to "Program Filex (x86)" but now it works.
I compared your code with mine. And there was only one Difference. And this difference was it. You use "C:\\Windows\\Temp\\softokn\\" as TEMP-Dir. I used "C:\\Users\\Name\\AppData\\Local\\Temp\\" as TEMP-Dir. When i changed my code ot use the "C:\\Windows\\Temp\\" my code works, too. very very very strange behaviour! :) But another question. i run the code and it gives me the Output: the number of certs 0 Why did i get "0" as result. There are the Mozilla-Standard Certificates on it. When i run the Certmanager in Firefox i see them. I don't use any Master-Password for the Mozilla CertStore. So dou you get "0" as result, too? or did i have do some more programming on it? -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto