Пример #1
0
 /// <summary>
 /// Restores the security zone to the value specified.
 /// </summary>
 /// <remarks>
 /// To set the value for testing please use the SecurityZone property this
 /// is exposed only for DRT Clean Up.
 /// </remarks>
 /// <param name="zone">
 /// The original security zone for this server.
 /// </param>
 public static void RestoreSecurityZone(SecurityZone zone)
 {
     RegistryHelpers.SetSecurityZone(zone);
     _originalZone = new Nullable <SecurityZone>();
 }