The Labs \ Source Viewer \ SSCLI \ System.Security \ SecurityZone

  1. // ==++==
  2. //
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. //
  14. // ==--==
  15. // SecurityZone.cs
  16. //
  17. // Enumeration of the zones code can come from
  18. //
  19. namespace System.Security
  20. {
  21.     using System;
  22.     [Serializable()]
  23.     [System.Runtime.InteropServices.ComVisible(true)]
  24.     public enum SecurityZone
  25.     {
  26.         // Note: this information is referenced in $/Com99/src/vm/security.cpp
  27.         // in ApplicationSecurityDescriptor.GetEvidence().
  28.        
  29.         MyComputer = 0,
  30.         Intranet = 1,
  31.         Trusted = 2,
  32.         Internet = 3,
  33.         Untrusted = 4,
  34.        
  35.         NoZone = -1
  36.         // No Zone Information
  37.     }
  38. }

Developer Fusion