Smart Device Functions:
Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than wininet, prefix the name with the module name and a period.
[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-126.96.36.199
Please edit this page!
Do you have...