コード例 #1
0
ファイル: WebServer.cs プロジェクト: dotnet/wpf-test
 /// <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>();
 }