TestimoX

API Reference

Class

SecurityOptionsWriter

Namespace ComputerX.SecurityPolicy
Assembly ComputerX
Modifiers static

Writes common Windows security option values to the registry for a target host. Intended for test environments and controlled automation; requires administrative rights.

Inheritance

  • Object
  • SecurityOptionsWriter

Methods

public static Boolean Set(String computerName, SecurityOptionsState desired) #
Returns: Boolean

Applies the desired security options to the specified computer by writing policy registry values.

Parameters

computerName System.String requiredposition: 0
Target machine name or null/empty for the local machine.
desired ComputerX.SecurityPolicy.SecurityOptionsState requiredposition: 1
Desired state to apply (per‐option, null means no change).

Returns

True when all writes succeed; false if any registry operation fails.