System.Security.Policy.NetCodeGroup.AbsentOriginScheme Field

Contains a value used to specify connection access for code with an unknown or unrecognized origin scheme.

Syntax

public static readonly string AbsentOriginScheme

Remarks

When calling the NetCodeGroup.AddConnectAccess(string, CodeConnectAccess) method, you specify a scheme and an associated System.Security.Policy.CodeConnectAccess object. Any System.Security.Policy.CodeConnectAccess objects that you add to the System.Security.Policy.NetCodeGroup using NetCodeGroup.AbsentOriginScheme as the origin scheme are applied when the code's origin scheme is not present in its evidence, or is not a scheme recognized by the System.Security.Policy.NetCodeGroup object.

To specify the System.Security.Policy.CodeConnectAccess objects to use when the code's origin scheme does not match any of the schemes contained in the set of origin schemes added to the current System.Security.Policy.NetCodeGroup object, use the NetCodeGroup.AnyOtherOriginScheme value.

The value of the NetCodeGroup.AbsentOriginScheme field is an empty string ("").

Requirements

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