ZennoLab Assemblies Documentation
SetContentPolicy Method
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.

Sets the policy for browser content.
Syntax

Parameters

policy

Type: System.String

The type of policy. It can have a value "DirectLoad", "WhiteList", "BlockList".

domains

Type: System.Collections.IEnumerable

Collection of domains for "WhiteList" or "BlockList" policy. Default value is null.

regexs

Type: System.Collections.IEnumerable

Collection of regular expressions for "WhiteList" or "BlockList" policy. Default value is null.

Requirements

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

See Also

Reference

Instance Class
Instance Members