summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Security/SecurityZone.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Security/SecurityZone.cs')
-rw-r--r--src/mscorlib/src/System/Security/SecurityZone.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Security/SecurityZone.cs b/src/mscorlib/src/System/Security/SecurityZone.cs
new file mode 100644
index 0000000000..a74b637846
--- /dev/null
+++ b/src/mscorlib/src/System/Security/SecurityZone.cs
@@ -0,0 +1,29 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+//
+//
+// Enumeration of the zones code can come from
+//
+
+namespace System.Security
+{
+ using System;
+ using System.Runtime.InteropServices;
+
+ // The quick cache code depends on the values in this enumeration. Any change to this enumeration should
+ // be reflected in PolicyManager.GenerateQuickCache as well.
+ [ComVisible(true)]
+ [Serializable]
+ public enum SecurityZone
+ {
+ MyComputer = 0,
+ Intranet = 1,
+ Trusted = 2,
+ Internet = 3,
+ Untrusted = 4,
+
+ NoZone = -1, // No Zone Information
+ }
+}