TestimoX

API Reference

Class

SmbServerHardeningPostureService

Namespace ComputerX.Smb
Assembly ComputerX
Modifiers static

Projects SMB server hardening posture from reusable SMB configuration substrate.

Inheritance

  • Object
  • SmbServerHardeningPostureService

Methods

public static View Get(String computerName = null, Func<String, SmbConfigInfo> configQuery = null) #
Returns: View

Gets SMB server hardening posture for the specified computer.

Parameters

computerName System.String = null optionalposition: 0
Target computer or null for the local machine.
configQuery System.Func{System.String,ComputerX.Smb.SmbConfigInfo} = null optionalposition: 1
Optional query override used by tests.

Returns

Typed SMB server hardening posture.