HexBinaryAdapter in C#?

236 Views Asked by At

I want to use C# to implement encoding function which is written in Java, but it has some code I've never seen before.

HexBinaryAdapter().unmarshal("publicKey");

Is there any similar API or method in C# or I also need to implement it?

1

There are 1 best solutions below

0
On BEST ANSWER

Take a look at SoapHexBinary.

SoapHexBinary hexBinary = SoapHexBinary.Parse("publicKey");