TestimoX

API Reference

Class

PatchDetailsOptions

Namespace ComputerX.PatchDetails
Assembly ComputerX
Modifiers sealed

Configuration for PatchDetails HTTP access and caching behavior.

Inheritance

  • Object
  • PatchDetailsOptions

Constructors

public PatchDetailsOptions() #

Properties

public static PatchDetailsOptions Default { get; } #

Returns a new instance with library defaults applied.

public String BaseUrl { get; set; } #

Base URL for MSRC endpoints. Leave null for library default.

public Nullable<TimeSpan> RequestTimeout { get; set; } #

Overall request timeout. If null, a sane default is used.

public String Proxy { get; set; } #

Optional proxy URL. If null, system proxy is used.

public String CachePath { get; set; } #

Optional local cache path for downloaded MSRC documents.

public Nullable<TimeSpan> CacheTtl { get; set; } #

How long to keep cached documents valid.

public String ApiKey { get; set; } #

Optional API key for MSRC. If not provided, will also check MSRC_API_KEY environment variable.

public Nullable<Int32> Retries { get; set; } #

Number of HTTP retries for transient failures (5xx/429/timeouts). Default: 3.

public Nullable<TimeSpan> RetryBaseDelay { get; set; } #

Base delay used for exponential backoff between retries. Default: 1s.