CookieHelper MembersA Sandcastle Documented Class Library

The CookieHelper type exposes the following members.
Constructors

  NameDescription
Private methodStatic memberCookieHelper
Public methodCookieHelper
Class constructor no arguments needed.
Back to Top
Methods

  NameDescription
Public methodStatic memberAddData
Helper method that properly adds key, value pairs to a Dictionary.
Public methodStatic memberDecodeFrom64
Converts a string from base 64 to unicode.
Public methodStatic memberEncodeTo64
Converts a string from unicode to base 64.
Public methodStatic memberGenerateCookie
Helper method that generates a cookie by serializing all the key value pairs in the provided dictionary, then encrypts that serilized data and finally sotres it in a generated cookie.
Public methodStatic memberGetCookie
Helper method that aids in the inflation of a cookie.
Public methodStatic memberHasData
Helper method that detects if an entry exists.
Public methodStatic memberInflateCookie
Static method that takes a cookie, decrypts its data, then inflates the data into key value pairs and stores it in a dictionary.
Public methodStatic memberRemoveData
Helper method that properly removes key, value pairs from a Dictionary.
Public methodStatic memberSetCookie
Helper method that aids in the creation of a cookie.
Back to Top
Fields

  NameDescription
Public fieldStatic membercolDelim
String used for column delimination in the data serializer.
Private fieldStatic membercolDelimReplace
String used to replace reserved char sequence.
Public fieldStatic memberrowDelim
String used for row delimination in the data serializer.
Private fieldStatic memberrowDelimReplace
String used to replace reserved char sequence.
Back to Top
See Also