| ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > Instance Class : SetContentPolicy Method |
Type: System.String
The type of policy. It can have a value "DirectLoad", "WhiteList", "BlockList".
Type: System.Collections.IEnumerable
Collection of domains for "WhiteList" or "BlockList" policy. Default value is null.
Type: System.Collections.IEnumerable
Collection of regular expressions for "WhiteList" or "BlockList" policy. Default value is null.
public void SetContentPolicy( string policy, IEnumerable<string> domains, IEnumerable<string> regexs )
Type: System.String
The type of policy. It can have a value "DirectLoad", "WhiteList", "BlockList".
Type: System.Collections.IEnumerable
Collection of domains for "WhiteList" or "BlockList" policy. Default value is null.
Type: System.Collections.IEnumerable
Collection of regular expressions for "WhiteList" or "BlockList" policy. Default value is null.
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.