I'm migrating an application from VB6 to .NET and in VB6 i have a a call to this method: CharToOemA. I don't understand what it does and how I can reproduce this functionality. The line in VB6 is like this: Call CharToOemA(Text, Text), where Text is a string.
Is there an equivalent in .NET for CharToOemA from VB6? If there isn't how can i implement this in .NET?