public static User GetUser(string cer) { string val = Secret.DESDecrypt(cer); string[] sArray = Regex.Split(val, separator, RegexOptions.IgnoreCase); string userId = sArray[0]; if (Certification.Certifier.ContainsKey(userId)) { return((User)Certification.Certifier[userId]); } else { return(null); } }