Home > Articles > Programming > C#

  • Print
  • + Share This
Like this article? We recommend

Like this article? We recommend

Running the Supplied Code

The complete working code for this article is available here. After unzipping the files, you should be able to build and use the supplied SharpDevelop solution. If you prefer to build the source code from scratch, you just need to create a solution—as usual, I used SharpDevelop and created a console application. Drop the two supplied source code files into your solution, and remember to add references to the following assemblies:

  • System.Management
  • System.Runtime.Serialization.Formatters.Soap

To do this in SharpDevelop, click Project > Add Reference, scroll down to System.Management and click OK. Then repeat the process for System.Runtime.Serialization.Formatters.Soap. Once you do this, the project should build and run successfully.

  • + Share This
  • 🔖 Save To Your Account