Hello, I am currently making a Login System. But I wanted this option to be there that it checks for the bytes to be the same on runtime. (For potential crackers) I tried a lot but I don't seem to find the problem. This is just a small example code:
Public Shared Function ByteEqual
Dim first1 As Byte() = System.Text.Encoding.Default.GetBytes(My.Resources.LoginSystem)
Dim second1 As Byte() = System.Text.Encoding.Default.GetBytes(My.Resources.LoginSystem)
If first1.Length = second1.Length Then
MessageBox.Show("True")
Else
MessageBox.Show("False")
End If
End Function
This is working but I want the "My.Resources.Loginsystem" to be a certain class in my project. Is this possible without injecting?