M
Mark Relly
Hello,
I would be very grateful if anyone could help me.
I am working with vb legacy code and have little vb knowledge.
I am attempting to transform this code into C# but I have a problem
In the VB code:
Dim tmp() As Byte
Dim binaryChallenge As String
binaryChallenge = tmp
I have a problem with the line "binaryChallenge = tmp" this assignment
(string = byte[]) is not valid in C#
I was wondering if anyone knew how to write this line in c# code.
I have tried various things (E.g. challenge =
asciiEncoding.GetString(byteArray) ) with no success as the values do not
match in each version (c# and vb).
Anybody who could help me it would be appreciated.
Thanks
Mark Relly
I would be very grateful if anyone could help me.
I am working with vb legacy code and have little vb knowledge.
I am attempting to transform this code into C# but I have a problem
In the VB code:
Dim tmp() As Byte
Dim binaryChallenge As String
binaryChallenge = tmp
I have a problem with the line "binaryChallenge = tmp" this assignment
(string = byte[]) is not valid in C#
I was wondering if anyone knew how to write this line in c# code.
I have tried various things (E.g. challenge =
asciiEncoding.GetString(byteArray) ) with no success as the values do not
match in each version (c# and vb).
Anybody who could help me it would be appreciated.
Thanks
Mark Relly