API Reference
Class
SmbSecurityService
Reads SMB server security posture (signing, protocol support) from domain controllers.
Inheritance
- Object
- SmbSecurityService
Methods
public static SmbComplianceView GetComplianceViewForController(String domainName, String dcName) #Returns:
SmbComplianceViewReturns a typed SMB compliance view (SMBv1 enablement) for a single domain controller.
Parameters
- domainName System.String
- dcName System.String
public static SmbSigningView GetSigningViewForController(String domainName, String dcName) #Returns:
SmbSigningViewReturns a typed SMB signing view for a single domain controller (fast, focused).
Parameters
- domainName System.String
- dcName System.String
public static Task<SmbSecuritySnapshot> GetSnapshotAsync(String domainName, CancellationToken cancellationToken = null) #Returns:
Task<SmbSecuritySnapshot>Collects SMB server security posture for domain controllers in the specified domain.
Parameters
- domainName System.String
- DNS name of the target domain.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token to abort enumeration and checks.
Returns
Snapshot containing per-DC status and policy evaluation.