private static String GetX509SerialNumber(X509Certificate cert) { return cert.SerialNumber.ToString(); }