System.Security.Policy.Zone.CreateFromUrl Method

Creates a new zone with the specified URL.

Syntax

public static Zone CreateFromUrl (string url)

Parameters

url
The URL from which to create the zone.

Returns

A new zone with the specified URL.

Remarks

The zone determination for the specified URL is based on the zone mapping settings in Microsoft Internet Explorer and can therefore differ from computer to computer. The zone mapping settings are located on the Security tab of the Internet Options dialog launched from the Tools menu.

Requirements

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0