As indicated in the answers, this is a duplicate of "How do you convert Byte Array to Hexadecimal String, and vice versa, in C#?"
Hi,
Can we converting a hex string to a byte array using a built-in function in C# or I have to make a custom method for this?