Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static string ConvertZipToHexBinaryString(string filePath)
- {
- byte[] data = File.ReadAllBytes(filePath);
- //01. Simple
- //string strHex = BitConverter.ToString(data);
- //02. If want without '-' the use this one
- string hex = BitConverter.ToString(data).Replace("-", string.Empty);
- return hex;
- }
Add Comment
Please, Sign In to add comment