RAMvader
1.4
A .NET library which provides access to other processes' memory space.
|
Keeps the metadata related to an injection variable. More...
Public Member Functions | |
VariableDefinition (Object initialValue) | |
Constructor. More... | |
Object | GetInitialValue () |
Retrieves the initial value of the variable. When the Injector<TMemoryAlterationSetID, TCodeCave, TVariable> injects the variable in the target process' memory space, it initializes the variable to this value. More... | |
Type | GetInjectionVariableType () |
Properties | |
Object | InitialValue [get] |
Backed by the m_initialValue field. More... | |
Keeps the metadata related to an injection variable.
RAMvader.CodeInjection.VariableDefinition.VariableDefinition | ( | Object | initialValue | ) |
Constructor.
initialValue | The initial value of the variable. This should be specified with structures from the basic values which are supported by the Injector<TMemoryAlterationSetID, TCodeCave, TVariable> (Byte, Int32, UInt64, Single, Double, etc.). By providing these structures, you are both telling the injector about the SIZE of the injected variable and its initial value. |
NullReferenceException | Thrown when the given initial value of the variable is null |
Object RAMvader.CodeInjection.VariableDefinition.GetInitialValue | ( | ) |
Retrieves the initial value of the variable. When the Injector<TMemoryAlterationSetID, TCodeCave, TVariable> injects the variable in the target process' memory space, it initializes the variable to this value.
Type RAMvader.CodeInjection.VariableDefinition.GetInjectionVariableType | ( | ) |
Retrieves the Type of the injection variable.
The Type of the injection variable is defined to be the same type as the initial value of the variable, which is passed in its definition's constructor (VariableDefinition(object)). Thus, another way to get the injection variable's type is by calling GetInitialValue to retrieve the initial value of the variable, and then calling object.GetType on the returned value.
|
get |
Backed by the m_initialValue field.