TestimoX

API Reference

Class

RdpSecurityLocalService

Namespace ADPlayground.DomainControllers
Assembly ADPlayground
Modifiers static

Reads local RDP security posture on a Domain Controller via Remote Registry and an optional TCP listener probe.

Inheritance

  • Object
  • RdpSecurityLocalService

Methods

public static View Evaluate(String domainName, String controller, Int32 timeoutMs = 1000, Int32 retryCount = 1, Int32 retryDelayMs = 100, Func<String, IEnumerable<Int32>, Int32, Int32, Int32, CancellationToken, Task<IReadOnlyList<PortTestResult>>> tester = null, CancellationToken cancellationToken = null) #
Returns: View

Returns RDP security settings for the specified controller and optionally probes the TCP listener reachability using a synchronous facade.

Parameters

domainName System.String requiredposition: 0
DNS domain name for context.
controller System.String requiredposition: 1
Domain controller name.
timeoutMs System.Int32 = 1000 optionalposition: 2
TCP connect timeout in milliseconds.
retryCount System.Int32 = 1 optionalposition: 3
Number of retries for the port probe.
retryDelayMs System.Int32 = 100 optionalposition: 4
Delay between retries in milliseconds.
tester System.Func{System.String,System.Collections.Generic.IEnumerable{System.Int32},System.Int32,System.Int32,System.Int32,System.Threading.CancellationToken,System.Threading.Tasks.Task{System.Collections.Generic.IReadOnlyList{ADPlayground.Network.PortTestResult}}} = null optionalposition: 5
Optional TCP probe override used by tests.
cancellationToken System.Threading.CancellationToken = null optionalposition: 6
Cancellation token.

Returns

Typed RDP security and exposure posture view.

public static async Task<View> EvaluateAsync(String domainName, String controller, Int32 timeoutMs = 1000, Int32 retryCount = 1, Int32 retryDelayMs = 100, Func<String, IEnumerable<Int32>, Int32, Int32, Int32, CancellationToken, Task<IReadOnlyList<PortTestResult>>> tester = null, CancellationToken cancellationToken = null) #
Returns: Task<View>

Returns RDP security settings for the specified controller and optionally probes the TCP listener reachability.

Parameters

domainName System.String requiredposition: 0
DNS domain name for context.
controller System.String requiredposition: 1
Domain controller name.
timeoutMs System.Int32 = 1000 optionalposition: 2
TCP connect timeout in milliseconds.
retryCount System.Int32 = 1 optionalposition: 3
Number of retries for the port probe.
retryDelayMs System.Int32 = 100 optionalposition: 4
Delay between retries in milliseconds.
tester System.Func{System.String,System.Collections.Generic.IEnumerable{System.Int32},System.Int32,System.Int32,System.Int32,System.Threading.CancellationToken,System.Threading.Tasks.Task{System.Collections.Generic.IReadOnlyList{ADPlayground.Network.PortTestResult}}} = null optionalposition: 5
Optional TCP probe override used by tests.
cancellationToken System.Threading.CancellationToken = null optionalposition: 6
Cancellation token.

Returns

Typed RDP security and exposure posture view.

public static View Get(String domainName, String controller) #
Returns: View

Returns RDP security settings for the specified controller (reads remote HKLM).

Parameters

domainName System.String requiredposition: 0
controller System.String requiredposition: 1