2015-04-07 09:35:12 +01:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
|
|
|
// SecurityZone.cs
|
|
|
|
//
|
2016-02-22 11:00:01 -05:00
|
|
|
// <OWNER>ShawnFa</OWNER>
|
2015-04-07 09:35:12 +01:00
|
|
|
//
|
|
|
|
// 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
|
|
|
|
}
|
|
|
|
}
|