byte[] to hex  
Author Message
Rulandas





PostPosted: Mon Jan 30 02:40:54 CST 2006 Top

Visual C#.Net >> byte[] to hex What's the way to convert a byte[4] to a hexadecimal?

DotNet394  
 
 
Jon





PostPosted: Mon Jan 30 02:40:54 CST 2006 Top

Visual C#.Net >> byte[] to hex Water Cooler v2 wrote:
> What's the way to convert a byte[4] to a hexadecimal?

Do you mean to a hex string? Convert.ToString(byte[]) is the easiest
way, although it puts a hyphen between each byte which you may not
what.

Jon