Search results for query: *

  • Users: colins5286
  • Content: Threads
  • Order by date
  1. C

    Question Help with duplicate code

    I have written some code with alters the power settings on Windows computers. I am no software dev, but I suspect there is a better way of coding than what I have written. Basically the code is duplicated 6 times to run each alteration to the system. I am sure there must be a way to write one...
  2. C

    Exporting Registry Hives

    I am trying to write a piece of code to export registry keys using C# and the built in reg export command line. This is what I have so far, but it just doesn't work: using System; using System.Diagnostics; using System.IO; namespace VolatileDataCapture.Services { class...
  3. C

    Looped Output Results

    Hi All, I am relatively new to C# and am struggling with outputting some results. I have a piece of code that uses the inbuilt WMI commands to retrieve some system information. It currently writes the output to the console and works fine (both shown below). What I would like to do is output...
Back
Top Bottom