TestimoX

API Reference

Class

CredentialPosture

Namespace ComputerX.Credentials
Assembly ComputerX
Modifiers static

Queries credential-related host security posture (cache, policy, and local stored credentials).

Inheritance

  • Object
  • CredentialPosture

Methods

public static CredentialPostureInfo Get(String computerName = null) #
Returns: CredentialPostureInfo

Gets credential posture for a local or remote computer.

Parameters

computerName System.String = null optionalposition: 0
Target computer; null/empty uses local machine.

Returns

Credential posture snapshot.

public static Task<CredentialPostureInfo> GetAsync(String computerName = null, CancellationToken cancellationToken = null) #
Returns: Task<CredentialPostureInfo>

Asynchronously gets credential posture for a local or remote computer.

Parameters

computerName System.String = null optionalposition: 0
Target computer; null/empty uses local machine.
cancellationToken System.Threading.CancellationToken = null optionalposition: 1
Cancellation token.

Returns

Credential posture snapshot.

public static IAsyncEnumerable<CredentialPostureInfo> GetManyAsync(IEnumerable<String> computerNames, Int32 degreeOfParallelism = 4, CancellationToken cancellationToken = null) #
Returns: IAsyncEnumerable<CredentialPostureInfo>

Gets credential posture for multiple computers with bounded concurrency.

Parameters

computerNames System.Collections.Generic.IEnumerable{System.String} requiredposition: 0
Target computers.
degreeOfParallelism System.Int32 = 4 optionalposition: 1
Maximum concurrency.
cancellationToken System.Threading.CancellationToken = null optionalposition: 2
Cancellation token.