예제 #1
0
 /// <summary>
 /// 保存信息
 /// </summary>
 public void Save()
 {
     UserCookie cookie = new UserCookie();
     cookie.m_key = "BSSTOCK";
     cookie.m_value = AESHelper.Encrypt(JsonConvert.SerializeObject(m_bsStocks));
     UserCookieService cookieService = DataCenter.UserCookieService;
     cookieService.AddCookie(cookie);
 }
예제 #2
0
        /// <summary>
        /// 保存信息
        /// </summary>
        public void Save()
        {
            UserCookie cookie = new UserCookie();

            cookie.m_key   = "CALENDAR";
            cookie.m_value = AESHelper.Encrypt(JsonConvert.SerializeObject(m_calendars));
            UserCookieService cookieService = DataCenter.UserCookieService;

            cookieService.AddCookie(cookie);
        }
예제 #3
0
        /// <summary>
        /// 保存信息
        /// </summary>
        public void Save()
        {
            UserCookie cookie = new UserCookie();

            cookie.m_key   = "BUSINESSCARD";
            cookie.m_value = AESHelper.Encrypt(JsonConvert.SerializeObject(m_businessCards));
            UserCookieService cookieService = DataCenter.UserCookieService;

            cookieService.AddCookie(cookie);
        }
예제 #4
0
        /// <summary>
        /// 保存信息
        /// </summary>
        public void Save()
        {
            UserCookie cookie = new UserCookie();

            cookie.m_key   = "DIMENSION";
            cookie.m_value = AESHelper.Encrypt(JsonConvert.SerializeObject(m_dimensions));
            UserCookieService cookieService = DataCenter.UserCookieService;

            cookieService.AddCookie(cookie);
        }
예제 #5
0
        /// <summary>
        /// 保存信息
        /// </summary>
        public void Save()
        {
            UserCookie cookie = new UserCookie();

            cookie.m_key   = "PERSONAL";
            cookie.m_value = AESHelper.Encrypt(JsonConvert.SerializeObject(m_personals));
            UserCookieService cookieService = DataCenter.UserCookieService;

            cookieService.AddCookie(cookie);
        }