I have one X509Certificate2 certificate in which I have FriendlyName "test".
When i am getting the RawData from that certifcate and trying to create a new one from that then i am getting FriendlyName as blank ("").
X509Certificate2 x509 = new X509Certificate2(cert.RawData);
Please let me know how can i import certificate FriendlyName as well. All Certificate properties has imported using RawData except FriendlyName.