The File.ReadAllBytes() method might help.
>I have this that I need to convert to .NET:
>
>
>STRCONV(STRCONV(STRCONV(FILETOSTR("newpicture.jpg"),13),1),5)
>
>
>I was using:
>
>
>Convert.ToBase64String(System.Text.Encoding.Default.GetBytes(...))
>
>
>But, this doesn't convert to the same format. I have also tried all kinds of combination of the System.Text.Encoding and I just cannot find the proper conversion.
>
>Anyone would know how to do it?
Semper ubi sub ubi.