Click here to Skip to main content
15,911,646 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to access cmos date and time using C# for develope trial version windows application
Posted

You would probably need to use one of the WMI providers, see https://msdn.microsoft.com/en-us/library/bg126473(v=vs.85).aspx[^].
 
Share this answer
 
Hi,

I suggestion to you try to using Assembly in Visual Studio it is possible and safe solution, However you can use WMI too but it will be make several problem for you some times it dose not work very well.

Learn using Assembly in visual studio by this link:
http://www.cs.virginia.edu/~evans/cs216/guides/vsasm.html[^]

By this way you can access the system clock:
https://msdn.microsoft.com/en-us/library/vstudio/xzwf0t6d(v=vs.100).aspx[^]

Try to look at the below link to getting strong information about Time in and etc.
https://msdn.microsoft.com/en-us/library/windows/desktop/dn553408(v=vs.85).aspx[^]

regards,
AH
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900