Example #1
0
        public static string SerializeObject(object o)
        {
            string json = JsonWriter.Serialize(o);

            return(CSharpEncrypt.Encrypt(json));
        }
Example #2
0
        public static string SerializeObject(object o)
        {
            string json = JsonWriter.Serialize(o) + "/" + DateTime.Now.ToString();

            return(CSharpEncrypt.Encrypt(json));
        }