Click or drag to resize
frmPromptGetUserString Method (String, String, String, Boolean)
GetUserString prompts the user for a string.

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static string GetUserString(
	string sTitle,
	string sPrompt,
	string sDefault,
	bool bReturnNullIfCancelled
)

Parameters

sTitle
Type: SystemString
Title of the dialog
sPrompt
Type: SystemString
The prompt text in the dialog
sDefault
Type: SystemString
The default response
bReturnNullIfCancelled
Type: SystemBoolean
If true, will return null if user hits cancel. Else returns sDefault.

Return Value

Type: String
The user's result, or null if user cancelled and bReturnNullIfCancelled set.
See Also