Hi Aravindba,
FirstUseReg = Registry.LocalMachine.OpenSubKey("SOFTWARE\Wow6432Node\LICENSE\runDate", True)
refers to which OS?
Since I dont have windows 8 OS so I guess
I think registry value is handled only for windows7 or older, to confirm it try to search runDate value in your registry like
In Windows 8 Machine open registry editor by
1)Press Win(key)+ R then type 'regedit.exe'(without quotes) and ok<br />
2)Search for the value 'runDate' in that if you have then match the path with the one that you have in your solution.<br />
3)If path is not defined in your solution try to create a path for the value in registry and test the application.
If you have value then its should be something with Datetime culture, the format may be invalid to the OS that you are intend to use.
You need to identify the culture of DateTime in your windows 8 machine and refer this
link[
^] for converting the datetime to that culture.
Hope this helps you a bit.
Regards,
RK