A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/system.security.policy.zone below:

Zone Class (System.Security.Policy) | Microsoft Learn

Zone Class Definition

Caution

Code Access Security is not supported or honored by the runtime.

Provides the security zone of a code assembly as evidence for policy evaluation. This class cannot be inherited.

public ref class Zone sealed : System::Security::Policy::EvidenceBase, System::Security::Policy::IIdentityPermissionFactory
public ref class Zone sealed : System::Security::Policy::IIdentityPermissionFactory
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class Zone : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
[System.Serializable]
public sealed class Zone : System.Security.Policy.IIdentityPermissionFactory
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class Zone : System.Security.Policy.IIdentityPermissionFactory
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class Zone : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
public sealed class Zone : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type Zone = class
    inherit EvidenceBase
    interface IIdentityPermissionFactory
[<System.Serializable>]
type Zone = class
    interface IIdentityPermissionFactory
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type Zone = class
    interface IIdentityPermissionFactory
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type Zone = class
    inherit EvidenceBase
    interface IIdentityPermissionFactory
type Zone = class
    inherit EvidenceBase
    interface IIdentityPermissionFactory
Public NotInheritable Class Zone
Inherits EvidenceBase
Implements IIdentityPermissionFactory
Public NotInheritable Class Zone
Implements IIdentityPermissionFactory
Inheritance
Inheritance
Attributes
Implements

Caution

Code Access Security (CAS) has been deprecated across all versions of .NET Framework and .NET. Recent versions of .NET do not honor CAS annotations and produce errors if CAS-related APIs are used. Developers should seek alternative means of accomplishing security tasks.

The presence of Zone evidence produces a ZoneIdentityPermission in the grant set. If there is a Demand for ZoneIdentityPermission, the ZoneIdentityPermission that corresponds to the Zone evidence will be compared with the demanded permission.

Zones are defined by the SecurityZone enumeration.

Constructors Zone(SecurityZone)

Initializes a new instance of the Zone class with the zone from which a code assembly originates.

Properties SecurityZone

Gets the zone from which the code assembly originates.

Methods

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4