UtilitiesGetRegistryInt Method |
Returns an integer from the registry, or a default.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static int GetRegistryInt(
RegistryKey oReg,
string sName,
int iDefault
)
Public Shared Function GetRegistryInt (
oReg As RegistryKey,
sName As String,
iDefault As Integer
) As Integer
public:
static int GetRegistryInt(
RegistryKey^ oReg,
String^ sName,
int iDefault
)
Parameters
- oReg
- Type: Microsoft.Win32RegistryKey
The Registry key in which to find the value. - sName
- Type: SystemString
The registry value name. - iDefault
- Type: SystemInt32
Default to return if the registry key is missing or cannot be used as an integer
Return Value
Type:
Int32The retrieved integer, or the default.
See Also