C# Class Microsoft.Protocols.TestManager.Detector.FileServerValueDetector

Inheritance: IValueDetector
Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites

Méthodes publiques

Méthode Description
CheckConfigrationSettings ( string>.Dictionary properties ) : bool

return false if check failed and set failed property in dictionary

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetDetectedProperty ( Dictionary &propertiesDic ) : bool

Get the detect result.

GetDetectionSteps ( ) : List

Add Detection steps to the log shown when detecting

GetHiddenProperties ( List rules ) : List

Get the list of properties that will be hidden in the configure page.

GetPrerequisites ( ) : Microsoft.Protocols.TestManager.Detector.Prerequisites

Get the prerequisites for auto-detection.

GetSUTSummary ( ) : object

Get a summary of the detect result.

GetSelectedRules ( ) : List

Get rules status

RunDetection ( ) : bool

Run property autodetection.

SelectEnvironment ( string environment ) : void

Set selected test environment.

SetPrerequisiteProperties ( string>.Dictionary properties ) : bool

Set the values for the required properties.

Private Methods

Méthode Description
CheckUsernamePassword ( FSDetector detector ) : bool
CreateRule ( string ruleCategoryName, bool hasFlag = true, DetectResult detectResult = DetectResult.Supported ) : Microsoft.Protocols.TestManager.Detector.CaseSelectRule
CreateShareList ( ) : List
DetectCreateContexts ( FSDetector detector ) : void
DetectIoctlCodes ( FSDetector detector ) : bool
DetectLocalNetworkInfo ( FSDetector detector ) : bool
DetectPlatformAndUserAccount ( FSDetector detector ) : void
DetectRSVD ( FSDetector detector ) : bool
DetectSMB2Info ( FSDetector detector ) : bool
DetectSQOS ( FSDetector detector ) : bool
DetectShareInfo ( FSDetector detector ) : bool
DetermineSymboliclink ( ) : void
GetAsymmetricShare ( ) : List
GetBottomLayerRuleName ( string fullName ) : string
GetShare ( ShareFlags_Values shareFlags, Share_Capabilities_Values shareCap = Share_Capabilities_Values.NONE ) : string
GetSpecialShare ( ) : string
GetUnsupportedItems ( List itemList ) : string
HasShare ( string shareName ) : bool
IsSymboliclink ( string path ) : bool
ParseShareFullPath ( ) : void
PingSUT ( FSDetector detector ) : bool

Method Details

CheckConfigrationSettings() public méthode

return false if check failed and set failed property in dictionary
public CheckConfigrationSettings ( string>.Dictionary properties ) : bool
properties string>.Dictionary
Résultat bool

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

GetDetectedProperty() public méthode

Get the detect result.
public GetDetectedProperty ( Dictionary &propertiesDic ) : bool
propertiesDic Dictionary
Résultat bool

GetDetectionSteps() public méthode

Add Detection steps to the log shown when detecting
public GetDetectionSteps ( ) : List
Résultat List

GetHiddenProperties() public méthode

Get the list of properties that will be hidden in the configure page.
public GetHiddenProperties ( List rules ) : List
rules List All rules with status: Selected, NotSupported, Unknown or Default
Résultat List

GetPrerequisites() public méthode

Get the prerequisites for auto-detection.
public GetPrerequisites ( ) : Microsoft.Protocols.TestManager.Detector.Prerequisites
Résultat Microsoft.Protocols.TestManager.Detector.Prerequisites

GetSUTSummary() public méthode

Get a summary of the detect result.
public GetSUTSummary ( ) : object
Résultat object

GetSelectedRules() public méthode

Get rules status
public GetSelectedRules ( ) : List
Résultat List

RunDetection() public méthode

Run property autodetection.
public RunDetection ( ) : bool
Résultat bool

SelectEnvironment() public méthode

Set selected test environment.
public SelectEnvironment ( string environment ) : void
environment string
Résultat void

SetPrerequisiteProperties() public méthode

Set the values for the required properties.
public SetPrerequisiteProperties ( string>.Dictionary properties ) : bool
properties string>.Dictionary Property name and values.
Résultat bool