C# Class PSAttack.PSAttackShell.PSAttackHostUserInterface

Inheritance: System.Management.Automation.Host.PSHostUserInterface
Afficher le fichier Open project: jaredhaight/PSAttack

Méthodes publiques

Méthode Description
Prompt ( string caption, string message, System descriptions ) : System.Management.Automation.PSObject>.Dictionary
PromptForChoice ( string caption, string message, Collection choices, int defaultChoice ) : int
PromptForCredential ( string caption, string message, string userName, string targetName ) : System.Management.Automation.PSCredential
PromptForCredential ( string caption, string message, string userName, string targetName, PSCredentialTypes allowedCredentialTypes, PSCredentialUIOptions options ) : System.Management.Automation.PSCredential
ReadLine ( ) : string
ReadLineAsSecureString ( ) : SecureString
Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string message ) : void
Write ( string message ) : void
WriteDebugLine ( string message ) : void
WriteErrorLine ( string message ) : void
WriteLine ( string message ) : void
WriteProgress ( long sourceId, System.Management.Automation.ProgressRecord record ) : void
WriteVerboseLine ( string message ) : void
WriteWarningLine ( string message ) : void

Private Methods

Méthode Description
GetCreds ( string caption, string message ) : System.Management.Automation.PSCredential
GetParameters ( System descriptions ) : System.Management.Automation.PSObject>.Dictionary

Method Details

Prompt() public méthode

public Prompt ( string caption, string message, System descriptions ) : System.Management.Automation.PSObject>.Dictionary
caption string
message string
descriptions System
Résultat System.Management.Automation.PSObject>.Dictionary

PromptForChoice() public méthode

public PromptForChoice ( string caption, string message, Collection choices, int defaultChoice ) : int
caption string
message string
choices Collection
defaultChoice int
Résultat int

PromptForCredential() public méthode

public PromptForCredential ( string caption, string message, string userName, string targetName ) : System.Management.Automation.PSCredential
caption string
message string
userName string
targetName string
Résultat System.Management.Automation.PSCredential

PromptForCredential() public méthode

public PromptForCredential ( string caption, string message, string userName, string targetName, PSCredentialTypes allowedCredentialTypes, PSCredentialUIOptions options ) : System.Management.Automation.PSCredential
caption string
message string
userName string
targetName string
allowedCredentialTypes PSCredentialTypes
options PSCredentialUIOptions
Résultat System.Management.Automation.PSCredential

ReadLine() public méthode

public ReadLine ( ) : string
Résultat string

ReadLineAsSecureString() public méthode

public ReadLineAsSecureString ( ) : SecureString
Résultat System.Security.SecureString

Write() public méthode

public Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string message ) : void
foregroundColor ConsoleColor
backgroundColor ConsoleColor
message string
Résultat void

Write() public méthode

public Write ( string message ) : void
message string
Résultat void

WriteDebugLine() public méthode

public WriteDebugLine ( string message ) : void
message string
Résultat void

WriteErrorLine() public méthode

public WriteErrorLine ( string message ) : void
message string
Résultat void

WriteLine() public méthode

public WriteLine ( string message ) : void
message string
Résultat void

WriteProgress() public méthode

public WriteProgress ( long sourceId, System.Management.Automation.ProgressRecord record ) : void
sourceId long
record System.Management.Automation.ProgressRecord
Résultat void

WriteVerboseLine() public méthode

public WriteVerboseLine ( string message ) : void
message string
Résultat void

WriteWarningLine() public méthode

public WriteWarningLine ( string message ) : void
message string
Résultat void