In my MsgLib code I have this snippet. Below.
Everything I've found on google says it should work.
Every convert type, UTF8, ASCII etc doesn't work.
Basic4ppc throws the error.
Method not found.
GetString
System.Text.Encoding.
Continue?
public string GetMsgBody(int Num)
{
byte[] b = Convert.FromBase64String(msg[Num].Body);
string str = System.Text.Encoding.UTF8.GetString(b);
return str;
}
I know WinMo 5 and 6 devices handle different message.body 's differently.
ASCII, HTML, MIME etc
But surely there's a way to convert either type to ASCII.
That way I could parse the string using Basic4ppc functions.