Smart Device Functions:
[DllImport("wininet.dll", CharSet=CharSet.Auto, SetLastError=true)]
<DllImport("wininet.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _
Alternative Managed API:
Do you know one? Please contribute it!
Tips & Tricks:
Please add some!
bool b = InternetSetCookie("http://localhost/", "keyname", "value; Expires = " + DateTime.Now.AddDays(10).ToString("R"));
Note: couldn't figure out how to add a new fcn, so I'm adding this here:
[DllImport("wininet.dll", CharSet = CharSet.Auto, SetLastError = true)]
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 11:00:13 AM - tsahi-220.127.116.11
Please edit this page!
Do you have...