InternetSetCookie (wininet)
Last changed: markleightonfisher.at.gmail.dot.com-134.68.31.227

.
Summary
TODO - a short description

C# Signature:

    [DllImport("wininet.dll", CharSet=CharSet.Auto, SetLastError=true)]
    static extern bool InternetSetCookie(string lpszUrl, string lpszCookieName, string lpszCookieData);

VB Signature:

Declare Function InternetSetCookie Lib "wininet.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

bool b = InternetSetCookie("http://localhost/", "keyname", "value; Expires = " + DateTime.Now.AddDay(10).ToString("R"));

Documentation

http://msdn.microsoft.com/en-us/library/aa385107(VS.85).aspx