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

Inheritance: IValueDetector
Datei anzeigen Open project: Microsoft/WindowsProtocolTestSuites

Public Methods

Method 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

Method 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 method

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

Dispose() public method

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

GetDetectedProperty() public method

Get the detect result.
public GetDetectedProperty ( Dictionary &propertiesDic ) : bool
propertiesDic Dictionary
return bool

GetDetectionSteps() public method

Add Detection steps to the log shown when detecting
public GetDetectionSteps ( ) : List
return List

GetHiddenProperties() public method

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
return List

GetPrerequisites() public method

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

GetSUTSummary() public method

Get a summary of the detect result.
public GetSUTSummary ( ) : object
return object

GetSelectedRules() public method

Get rules status
public GetSelectedRules ( ) : List
return List

RunDetection() public method

Run property autodetection.
public RunDetection ( ) : bool
return bool

SelectEnvironment() public method

Set selected test environment.
public SelectEnvironment ( string environment ) : void
environment string
return void

SetPrerequisiteProperties() public method

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