Jun 24, 2017 04:39 PM|mgebhard|LINK
One thing i noticed is the T variable/ syntax which gives a compile error, do i substitute this with my own type?
You'll need to be a bit more specific on the error but yes supply the class type you intent to serialize as shown in the unit test.
//Create the encryption utility
SecureCookie<CustomCookie> util = new SecureCookie<CustomCookie>();
If you are not familiar with unit testing, I suggest you take a moment and learn how to create a unit test project and start testing your code. This will save you a lot of time and future headaches.