diff --git a/qcbadge/Controllers/HomeController.cs b/qcbadge/Controllers/HomeController.cs index 59552fa..39f3a3d 100644 --- a/qcbadge/Controllers/HomeController.cs +++ b/qcbadge/Controllers/HomeController.cs @@ -164,6 +164,12 @@ namespace qcbadge.Controllers System.Diagnostics.Debug.WriteLine("*************************************"); System.Diagnostics.Debug.WriteLine("*************************************"); + //http://tomeko.net/online_tools/hex_to_base64.php?lang=en + + //for base64 convert + byte[] bytes = Convert.FromBase64String("test"); + string hex = BitConverter.ToString(bytes); + String qcData = advertData.Substring(24, 20); System.Diagnostics.Debug.WriteLine(qcData);