UtilitiesGetRegistryBool Method |
Get a bool from the registry
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static bool GetRegistryBool(
RegistryKey oReg,
string sName,
bool bDefault
)
Public Shared Function GetRegistryBool (
oReg As RegistryKey,
sName As String,
bDefault As Boolean
) As Boolean
public:
static bool GetRegistryBool(
RegistryKey^ oReg,
String^ sName,
bool bDefault
)
Parameters
- oReg
- Type: Microsoft.Win32RegistryKey
The RegistryKey - sName
- Type: SystemString
The Value name - bDefault
- Type: SystemBoolean
The default value
Return Value
Type:
BooleanReturns an bool from the registry, or bDefault if the registry key is missing or cannot be used as an bool.
See Also