API Reference
Class
PlatformSecurity
Queries platform security runtime posture (TPM, Secure Boot, DMA, and code integrity signals).
Inheritance
- Object
- PlatformSecurity
Methods
public static PlatformSecurityInfo Get(String computerName = null) #Returns:
PlatformSecurityInfoGets platform security runtime posture for a local or remote computer.
Parameters
- computerName System.String = null
- Target computer; null/empty uses local machine.
Returns
Platform security posture snapshot.
public static Task<PlatformSecurityInfo> GetAsync(String computerName = null, CancellationToken cancellationToken = null) #Returns:
Task<PlatformSecurityInfo>Asynchronously gets platform security runtime posture for a local or remote computer.
Parameters
- computerName System.String = null
- Target computer; null/empty uses local machine.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Platform security posture snapshot.
public static IAsyncEnumerable<PlatformSecurityInfo> GetManyAsync(IEnumerable<String> computerNames, Int32 degreeOfParallelism = 4, CancellationToken cancellationToken = null) #Returns:
IAsyncEnumerable<PlatformSecurityInfo>Gets platform security posture for multiple computers with bounded concurrency.
Parameters
- computerNames System.Collections.Generic.IEnumerable{System.String}
- Target computers.
- degreeOfParallelism System.Int32 = 4
- Maximum concurrency.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object