Depends on how the date is stored in the binary format. In the past I saved
it as DateTime.Ticks and then just read it back that way. You could also
serialize it and store it as a byte array.
Regards,
John
"lastusernameleft" <la**************@discussions.microsoft.com> wrote in
message news:4F**********************************@microsof t.com...
actually i figured it out, i had to use stdregprov, but what i need now i
to
convert a binary value into a date?
"lastusernameleft" wrote:
What is the easiest .net method to read a REG_BINARY value from the
registry?
I'm using a ManagementClass from the System.Management namespace and can
retrieve string values using GetMethodParameter("GetStringValue") but
can't
find the method for binary, the MSDN documentation is terrible and
doesn't
provide a list of possible parameters. any ideas would be appreciated.
thanks