AddCookie Method
Adds a cookie and the corresponding value to the outgoing request headers.
Syntax
[VB.NET] Public Sub AddCookie(ByVal CookieName As String, ByVal CookieValue As String)
[C#] public void AddCookie(string cookieName, string cookieValue);
Remarks
This property adds a cookie and the corresponding value to the outgoing request headers. Please refer to the Cookies property for more information on cookies and how they are managed.