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
Is there a way to access a list of network adapters, check if they have power management options, then change those options.
Example: Allow the computer to turn off this device to save power?
I need to check if the above option is turned on, if so turn it off?
Need a solution or multiple solutions that will work with Windows XP - Win8.1
Briefly, you have to:
Get network adapters list
Get according options from system registry: Adjusting Power Settings in Windows XP SP3 via Registry.
Change them in appropriate order: How to: Create a Key In the Registry (Visual C#).
Related
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 2 years ago.
Improve this question
I was wondering what type of side menu Microsoft used in their Hyper-V Manager (or mmc as well) and wanted to ask you If there is such control in C# (Winform / wpf) and what is the name of it?
I was trying to play with TreeView but it sucked in many ways, e.g. I was not able to "unfocus" selected node and so on.
Hope you are all doing well during this time.
Thank you!
hyper-v manager side menu screenshot
You can either use a 3rd party library having Accordion Control
Ex: https://docs.devexpress.com/WindowsForms/114553/controls-and-libraries/navigation-controls/accordion-control
Or make one for yourselves using WPF/WinForms Custom Control.
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
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 looking for a way to remotely share my screen with another computer, the main problem is that I need to integrate it into my current C# application. I have been doing research and was looking for someone who has already done this.
I am thinking from my research that I will need a piece of client software installed on the target machine to view the screen.
In theory I would like to view six separate screens from one computer and if possible have the ability to control the remote screen, just to verify I do not want to have a Remote Desktop like connection but a live view of the target computer.
Hoping someone can help.
Cheers,
Ben
You may need to implement piece of remote desktop in your code. There are plenty of resources addressed this problem some of them below.
http://bobcravens.com/2009/04/create-a-remote-desktop-viewer-using-c-and-wcf/
http://www.codeproject.com/Articles/43705/Remote-Desktop-using-C-NET
http://stackoverflow.com/questions/10311770/
http://www.codeproject.com/Articles/33979/Multi-RDP-Client-NET
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I know that it's possible to manually restart only Windows by holding down the Shift key, clicking restart and then the OK button, but is there a way to do this programatically in a .NET app?
I assume you're referring to this microsoft knowledgebase article about restarting windows without restarting the PC - which is also referenced here on wikipedia ?
You'll note that this refers only to windows 95, 98 and ME. It makes sense in that context, as those versions of windows ran on top of MS-DOS, and so I'm assuming that it restarted the windows layer without restarting the DOS layer underneath it.
On later versions of windows, holding the shift key will have no effect, as they don't run on top of DOS. Restarting windows is restarting the whole computer, as there's no "layer underneath it". If you're still using windows 95, 98 or ME... umm... good luck and have a nice life?
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to monitor the event of a new Antivirus installation ,
currently what I have in mind is listen to change in the Uninstall registry folder and then compare the new application name with a list of known Antiviruses.
I want to improve it by being more specific , is there other resource I can monitor in order to know when a new Antivirus has installed? for example some registry that new Antivirus have to edit in order to be marked as an active Antivirus etc.
Thank you for your help
Registry is not the best way. The information you want is usually exposed through the WMI.
Since you haven't specify in tags what language you're using, here's the link to the VBScript example. Beware that on 64 bit OSes there're effectively 2 WMIs, 32 bits and 64 bits.
If you want your software to react instantly, WscRegisterForChanges API allows you to be notified when the AV is started or stopped.