VB6 StrConv vbFromUnicode 升级到 VB.NET
vbcode6:
Dim arrB() As Byte
arrB = StrConv(strEncoded, vbFromUnicode)
vb.net code:
Dim arrB() As Byte
arrB = System.Text.Encoding.Default.GetBytes(strSource.ToCharArray())
VB6 StrConv vbFromUnicode 升级到 VB.NET
vbcode6:
Dim arrB() As Byte
arrB = StrConv(strEncoded, vbFromUnicode)
vb.net code:
Dim arrB() As Byte
arrB = System.Text.Encoding.Default.GetBytes(strSource.ToCharArray())