System.Security.Policy.NetCodeGroup.AnyOtherOriginScheme Field

Contains a value used to specify any other unspecified origin scheme.

Syntax

public static readonly string AnyOtherOriginScheme

Remarks

When calling the NetCodeGroup.AddConnectAccess(string, CodeConnectAccess) method, you specify a scheme and an associated System.Security.Policy.CodeConnectAccess object. You can use the value of the NetCodeGroup.AnyOtherOriginScheme field to specify the System.Security.Policy.CodeConnectAccess objects that should be used for any scheme that is not explicitly contained in the set of origin schemes added to the current System.Security.Policy.NetCodeGroup object.

The System.Security.Policy.CodeConnectAccess objects specified with the NetCodeGroup.AnyOtherOriginScheme field are only used if 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.

To specify the System.Security.Policy.CodeConnectAccess objects to apply when the code's origin scheme is not available in its evidence or is not recognized, use the NetCodeGroup.AbsentOriginScheme value.

The value of the NetCodeGroup.AnyOtherOriginScheme field is "*".

Requirements

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