Red faceVB.Net Memory Class (Writen by Jorndel)

Posts 1626 of 26 · Page 2 of 2
Quote Originally Posted by kooperpc View Post
How can I modify the 8Bytes values?
New Write Function:
Code:
   Private Sub Write(Address As Integer, Value As Long)
        Dim Buffer As Byte() = BitConverter.GetBytes(Value)
        Dim Zero As IntPtr = IntPtr.Zero
        WriteProcessMemory(pHandel, New IntPtr(Address), Buffer, UInt32.Parse(Buffer.Length), Zero)
    End Sub
New WriteLong Function:
Code:
    Public Sub WriteLong(Address As Integer, Value As Long)
        Write(Address, Value)
    End Sub
Simple enough.
Or just convert it to byte/2-bytes/4-bytes .
Quote Originally Posted by Mezocration View Post
net.framerwork 4 is needed ???
It's recommended to have it installed on your PC.
u can add this
Code:
    Function StringToHex(ByVal text As String) As String
        Dim hex As String
        For i As Integer = 0 To text.Length - 1
            hex &= Asc(text.Substring(i, 1)).ToString("x").ToUpper
        Next
        Return hex
    End Function
    Function HexToString(ByVal hex As String) As String
        Dim text As New System.Text.StringBuilder(hex.Length \ 2)
        For i As Integer = 0 To hex.Length - 2 Step 2
            text.Append(Chr(Convert.ToByte(hex.Substring(i, 2), 16)))
        Next
        Return text.ToString
    End Function
that u can convert bytes to string and string to hex example for namefaker
String function not working!
can i get the example code from the form side too like u gave example code for the c#

and also it can search PID from chrome browser to detect the flash player ?
i get the error
Quote Originally Posted by VB.NET
object reference not set to an instance of an object
when i try to write a string to mw2.
any help?
Usage for WriteString with the Process Target??
Quote Originally Posted by MiyakeDev View Post
Usage for WriteString with the Process Target??
If you can't call a function use this:


Or read through the code and figure it out yourself.
But how about if I wanna Read or Write Doubles? I need code pls.
Posts 1626 of 26 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?