TestimoX

API Reference

Class

UpdateGaps

Namespace ComputerX.Updates
Assembly ComputerX
Modifiers static

Computes missing security updates by comparing installed KBs with MSRC PatchDetails. Works for local and remote without requiring WUA on remote hosts.

Inheritance

  • Object
  • UpdateGaps

Methods

GetMissingSecurityAssessmentAsync 4 overloads
public static Task<UpdateGapAssessmentResult> GetMissingSecurityAssessmentAsync(String computer, DateTime asOf, CancellationToken ct = null) #
Returns: Task<UpdateGapAssessmentResult>

Computes missing security patches together with the resolved product mapping used for MSRC applicability.

Parameters

computer System.String requiredposition: 0
Target computer name or IP.
asOf System.DateTime requiredposition: 1
Reference date (patches since the month of this date are considered).
ct System.Threading.CancellationToken = null optionalposition: 2
Cancellation token.

Returns

Resolved product mapping and missing security updates.

public static Task<UpdateGapAssessmentResult> GetMissingSecurityAssessmentAsync(String computer, DateTime asOf, TimeSpan osQueryTimeout, CancellationToken ct) #
Returns: Task<UpdateGapAssessmentResult>

Computes missing security patches together with the resolved product mapping across a month lookback window.

Parameters

computer System.String requiredposition: 0
Target computer name or IP.
asOf System.DateTime requiredposition: 1
Reference date (month anchor for lookback collection).
lookbackMonths System.Int32 requiredposition: 2
Number of months to collect, counting backward from asOf month (inclusive).
ct System.Threading.CancellationToken = null requiredposition: 3
Cancellation token.

Returns

Resolved product mapping and missing security updates.

GetMissingSecurityAssessmentAsync(System.String computer, System.DateTime asOf, System.TimeSpan osQueryTimeout, System.Threading.CancellationToken ct) #

Computes missing security patches together with the resolved product mapping using an explicit OS query timeout.

Parameters

computer System.String required
Target computer name or IP.
asOf System.DateTime required
Reference date (patches since the month of this date are considered).
osQueryTimeout System.TimeSpan required
Timeout used when querying OS details to detect product version.
ct System.Threading.CancellationToken required
Cancellation token.

Returns

Resolved product mapping and missing security updates.

public static async Task<UpdateGapAssessmentResult> GetMissingSecurityAssessmentAsync(String computer, DateTime asOf, TimeSpan osQueryTimeout, Int32 lookbackMonths, CancellationToken ct) #
Returns: Task<UpdateGapAssessmentResult>

Computes missing security patches together with the resolved product mapping using an explicit OS query timeout and month lookback window.

Parameters

computer System.String requiredposition: 0
Target computer name or IP.
asOf System.DateTime requiredposition: 1
Reference date (month anchor for lookback collection).
osQueryTimeout System.TimeSpan requiredposition: 2
Timeout used when querying OS details to detect product version.
lookbackMonths System.Int32 requiredposition: 3
Number of months to collect, counting backward from asOf month (inclusive).
ct System.Threading.CancellationToken requiredposition: 4
Cancellation token.

Returns

Resolved product mapping and missing security updates.

GetMissingSecurityAsync 4 overloads
public static Task<IReadOnlyList<PatchGapInfo>> GetMissingSecurityAsync(String computer, DateTime asOf, CancellationToken ct = null) #
Returns: Task<IReadOnlyList<PatchGapInfo>>

Computes missing security patches for a computer as of a reference date.

Parameters

computer System.String requiredposition: 0
Target computer name or IP.
asOf System.DateTime requiredposition: 1
Reference date (patches since the month of this date are considered).
ct System.Threading.CancellationToken = null optionalposition: 2
Cancellation token.
public static async Task<IReadOnlyList<PatchGapInfo>> GetMissingSecurityAsync(String computer, DateTime asOf, TimeSpan osQueryTimeout, CancellationToken ct) #
Returns: Task<IReadOnlyList<PatchGapInfo>>

Computes missing security patches for a computer across a month lookback window.

Parameters

computer System.String requiredposition: 0
Target computer name or IP.
asOf System.DateTime requiredposition: 1
Reference date (month anchor for lookback collection).
lookbackMonths System.Int32 requiredposition: 2
Number of months to collect, counting backward from asOf month (inclusive).
ct System.Threading.CancellationToken = null requiredposition: 3
Cancellation token.
GetMissingSecurityAsync(System.String computer, System.DateTime asOf, System.TimeSpan osQueryTimeout, System.Threading.CancellationToken ct) #

Computes missing security patches using an explicit OS info query timeout.

Parameters

computer System.String required
Target computer name or IP.
asOf System.DateTime required
Reference date (patches since the month of this date are considered).
osQueryTimeout System.TimeSpan required
Timeout used when querying OS details to detect product version.
ct System.Threading.CancellationToken required
Cancellation token.
public static async Task<IReadOnlyList<PatchGapInfo>> GetMissingSecurityAsync(String computer, DateTime asOf, TimeSpan osQueryTimeout, Int32 lookbackMonths, CancellationToken ct) #
Returns: Task<IReadOnlyList<PatchGapInfo>>

Computes missing security patches using an explicit OS query timeout and month lookback window.

Parameters

computer System.String requiredposition: 0
Target computer name or IP.
asOf System.DateTime requiredposition: 1
Reference date (month anchor for lookback collection).
osQueryTimeout System.TimeSpan requiredposition: 2
Timeout used when querying OS details to detect product version.
lookbackMonths System.Int32 requiredposition: 3
Number of months to collect, counting backward from asOf month (inclusive).
ct System.Threading.CancellationToken requiredposition: 4
Cancellation token.