ZennoLab Assemblies Documentation
Domains Property (ICookieContainer)
Example 
ZennoLab.InterfacesLibrary.ProjectModel Namespace > ICookieContainer Interface : Domains Property
Gets collection of cookie's domains from container.
Syntax
IEnumerable<string> Domains {get;}

Property Value

Type: System.Collection.Generic.IEnumerable<String>

The collection of domains.

Example
he following code example demonstrates the Domains property.
// get the path to log file
string path = project.LogOptions.LogFile;
// set the path to log file
project.LogOptions.LogFile = "X:\\log.txt";
// enable splitting for log
project.LogOptions.SplitLogByThread = true; 
return tmp;
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

ICookieContainer Interface
ICookieContainer Members