API Reference
Class
SecureBootCertificateStatusQuery
Queries Secure Boot certificate rollout telemetry from registry and TPM-WMI events.
Inheritance
- Object
- SecureBootCertificateStatusQuery
Methods
public static SecureBootCertificateStatusInfo Get(String computerName = null, Int32 eventLookbackDays = 45) #Returns:
SecureBootCertificateStatusInfoGets Secure Boot certificate rollout status for a local or remote computer.
Parameters
- computerName System.String = null
- Target computer; null/empty uses the local machine.
- eventLookbackDays System.Int32 = 45
- How many days of relevant event history to inspect.
Returns
Secure Boot certificate rollout snapshot.
public static Task<SecureBootCertificateStatusInfo> GetAsync(String computerName = null, Int32 eventLookbackDays = 45, CancellationToken cancellationToken = null) #Returns:
Task<SecureBootCertificateStatusInfo>Asynchronously gets Secure Boot certificate rollout status for a local or remote computer.
Parameters
- computerName System.String = null
- Target computer; null/empty uses the local machine.
- eventLookbackDays System.Int32 = 45
- How many days of relevant event history to inspect.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Secure Boot certificate rollout snapshot.
public static IAsyncEnumerable<SecureBootCertificateStatusInfo> GetManyAsync(IEnumerable<String> computerNames, Int32 eventLookbackDays = 45, Int32 degreeOfParallelism = 4, CancellationToken cancellationToken = null) #Returns:
IAsyncEnumerable<SecureBootCertificateStatusInfo>Gets Secure Boot certificate rollout status for multiple computers with bounded concurrency.
Parameters
- computerNames System.Collections.Generic.IEnumerable{System.String}
- Target computers.
- eventLookbackDays System.Int32 = 45
- How many days of relevant event history to inspect.
- degreeOfParallelism System.Int32 = 4
- Maximum concurrency.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Async stream of rollout snapshots.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object