ZoneIdentityPermission Constructor (SecurityZone)
Collapse the table of content
Expand the table of content

ZoneIdentityPermission Constructor (SecurityZone)

 

Initializes a new instance of the ZoneIdentityPermission class to represent the specified zone identity.

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

public ZoneIdentityPermission(
	SecurityZone zone
)

Parameters

zone
Type: System.Security.SecurityZone

The zone identifier.

The following example shows the use of the ZoneIdentityPermission.ZoneIdentityPermission(SecurityZone) constructor.

ZoneIdentityPermission zoneIdPerm1 = new ZoneIdentityPermission(SecurityZone.Intranet);

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft