How can I convert a REG_BINARY value from the registry into a string ? (vb.net)
问题 I have a registry value which is stored as a binary value (REG_BINARY) holding information about a filepath. The value is read out into an byte array. But how can I transform it into a readable string? I have read about system.text.encoding.ASCII.GetString(value) but this does not work. As far as I got to know the registry value is arbitrary binary data and not ASCII which is the reason for the method to produce useless data. Does anybody know how I can convert the data? Sample: (A piece of