Posted on Mar 3, 2010 by
Happy Lion
in NotificationConnection when you try to load the certificate file (whether with or without password) the process fails. the reason: not all the contractors are implemented there.
instead of using: certificate = new X509Certificate2(p12File);
you can use this: certificate = new X509Certificate2(System.IO.File.ReadAllBytes(p12File));
the contractor of X509Certificate2 that receives byte array of the file data exists. this solution will be good both for windows and mono..
this was checked on mono 2.6.1
Comment #1
Posted on Mar 27, 2010 by Happy LionFixed via your suggestion. Thanks!
Status: Fixed
Labels:
Type-Defect
Priority-Medium