IEnumerable<ICookieItem> Get( string host )
Parameters
- host
Type: System.String
The host.
Return Value
Type: System.Collection.Generic.IEnumerable<String>
The cookie items collection.
Type: System.String
The host.
IEnumerable<ICookieItem> Get( string host )
Type: System.String
The host.
Type: System.Collection.Generic.IEnumerable<String>
The cookie items collection.
// http request ZennoPoster.HTTP.Request(InterfacesLibrary.Enums.Http.HttpMethod.GET, "https://zennolab.com", cookieContainer: project.Profile.CookieContainer); // get cookie items var items = project.Profile.CookieContainer.Get("zennolab.com"); // output to log info of cookie item foreach(var item in items) { project.SendInfoToLog(item.Name + " = " + item.Value); }
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.