Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

blackchaosv2

@blackchaosv2
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • VB To C# ( _value = Asc(Mid(LStr, IValue, 1)))
    B blackchaosv2

    Thanks I did the following. I added the VisualBasic Reference and used Strings.Asc. Then for the Mid I use:

    public static string Mid(string param, int startIndex, int length)
    {
    string result = param.Substring(startIndex, length);
    return result;
    }

    C# csharp help

  • VB To C# ( _value = Asc(Mid(LStr, IValue, 1)))
    B blackchaosv2

    Hello, I wrote this a while ago and I need some help converting it to C#. "( _value = Asc(Mid(LStr, IValue, 1)))"

    C# csharp help

  • Getting Bytes from Class
    B blackchaosv2

    I am on my phone as for right now. I hope someone could link me once I am back.

    .NET (Core and Framework) help tutorial question

  • Getting Bytes from Class
    B blackchaosv2

    Sorry, I meant to say whenever someone executes the application and I hard-coded my login system into a class. Let's say they reflected it and adjusted some property's with Reflector. I want the application to detect this, whenever the user made any adjustments in the ASSEMBLY. The function I posted works but I don't want to grab my class out of My.Resources. I want it to be in the project files itself.

    .NET (Core and Framework) help tutorial question

  • Getting Bytes from Class
    B blackchaosv2

    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?

    .NET (Core and Framework) help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups