[DllImport("wininet.dll", CharSet=CharSet.Auto, SetLastError=true)]
static extern bool InternetSetCookie(string lpszUrl, string lpszCookieName, string lpszCookieData);
Declare Function InternetSetCookie Lib "wininet.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
None.
Please add some!
bool b = InternetSetCookie("http://localhost/", "keyname", "value; Expires = " + DateTime.Now.AddDay(10).ToString("R"));
http://msdn.microsoft.com/en-us/library/aa385107(VS.85).aspx