Search results for query: *

  1. M

    Question FromBase64string - Invalid length of the string

    I have to add "===" to get the correct lenght. My string is only Y2F6em9vb29vb29vb29vb29vb
  2. M

    Question FromBase64string - Invalid length of the string

    I see I can do Regex regex = new Regex(@"==="); //simboli string[] val = regex.Split("Y2F6em9vb29vb29vb29vb29vb28==="); Byte[] b = convert.frombase64string(val); Is it right?
  3. M

    Question FromBase64string - Invalid length of the string

    Hello everybody! I have a string in base64, that I have to convert in a byte array. To do this, I use Frombase64string. But it give me an error about the wrong lenght of the string, that isn't a multiple of 4. So I add to the string a simbol ( =) to get the correct lenght. But I have to add 3...
Back
Top Bottom