How to get power usage programmatically in Windows [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am working on a windows application(C#) to monitor computers. Are there any way to get current power usage in windows ?

This is simply not supported under Windows. MS documents their PowerManagement API
I walked through every subheading, and nowhere can such detail be monitored. If the system is on battery and you poll the %battery remaining (which is not terrible accurate), you would know about as much as is possible through the API

Related

Send rate and review to app's google play with c# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 days ago.
Improve this question
I want create a windows application .net or .net framework c# that :
login to google play store as a Clone Google play in windows form c# and download apk
Please advise where to start
A little confused as to how the work steps are.

How to merge text on image in windows phone app? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am developing an app in which i need to write text on image and save it by coding in windows phone. Is it possible? How?
This is possible in Windows Phone 8. Follow this link but for higher versions you need to look for equivalent APIs.

What is the best way to track a users usage time in Windows 7 with C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'd like to write an app in C# (Winforms) that tracks a users time spent on their PC and if they are on it for an hour then tell them to go and have a break.
If they lock the machine then the counter is to be reset, I've seen examples of uptime for the machine and for idle time but nothing for actual time spent working at their PC.
If I can get some pointers as to the best way to accomplish this it would be appreciated. i.e .dll to use or reference etc
You could try using GetLastInputInfo for the idle time and a SessionSwitchEventHandler for the workstation lock/unlock.

How to set time expiry to windows application in c#? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am a novice software developer and I am building desktop applications using C#. I want to make my applications expire and generate a license file to activate the application after it expires. Meaning I want to include a time bomb to all my applications and detonate it by using the generated license file.
There are many ways to achieve this - the .NET-Way is described here in this MSDN-Article:
How to: License Components and Controls
If you are developing a windows 8 app and you want to find out a way to create a trial version of your app then I think the following article does a pretty good job of explaining how to do it.
http://msdn.microsoft.com/en-us/library/windows/apps/hh694065.aspx

how to make an GUI OS with C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I would like to know how to make an GUI OS using C# (becuose it`s the language I know the best).
I would like to make it as most as my own.
I know that a good start is to to help to improve completed OS (like a Cosmos) but I would like to do that part of the job by myself. What have the done? How did they made that(boot and some more things)???That is a thing I don`t know.
An operating system usually takes years of work by a team of people. Moreover, you cannot do this with C#, as it's too high level to realistically facilitate the type of development you're talking about.

Categories

Resources