So I'm making this program, and this is what I have so far

private: System::Void load_Click(System::Object^  sender, System::EventArgs^  e) {
			 outs("ComputerName", SystemInformation::ComputerName);
			 outb("Network", SystemInformation::Network);
			 outs("UserDomainName", SystemInformation::UserDomainName);
			 outs("UserName", SystemInformation::UserName);
			 outbm("BootMode", SystemInformation::BootMode);
			 outi("MonitorCount", SystemInformation::MonitorCount);
			 outb("MonitorsSameDisplayFormat", SystemInformation::MonitorsSameDisplayFormat);
			 outad("ArrangeDirection", SystemInformation::ArrangeDirection);
			 outb("MousePresent", SystemInformation::MousePresent);
			 outb("MouseButtonsSwapped", SystemInformation::MouseButtonsSwapped);
			 outb("UserInteractive", SystemInformation::UserInteractive);
			 outr("VirtualScreen", SystemInformation::VirtualScreen);
		 }

		 public: System::Void outs(String^ x, String^ y){
					 out->AppendText(x);
					 out->AppendText(" : ");
					 out->AppendText(y);
					 out->AppendText("\n");
				 }

		 public: System::Void outb(String^ x, bool y){
					 out->AppendText(x);
					 out->AppendText(" : ");
					 out->AppendText(y.ToString());
					 out->AppendText("\n");
				 }

		 public: System::Void outi(String^ x, int y){
					 out->AppendText(x);
					 out->AppendText(" : ");
					 out->AppendText(y.ToString());
					 out->AppendText("\n");
				 }

		 public: System::Void outbm(String^ x, BootMode y){
					 out->AppendText(x);
					 out->AppendText(" : ");
					 out->AppendText(y.ToString());
					 out->AppendText("\n");
				 }

		 public: System::Void outad(String^ x, ArrangeDirection y){
					 out->AppendText(x);
					 out->AppendText(" : ");
					 out->AppendText(y.ToString());
					 out->AppendText("\n");
				 }

		 public: System::Void outr(String^ x, Rectangle y){
					 out->AppendText(x);
					 out->AppendText(" : ");
					 out->AppendText(y.ToString());
					 out->AppendText("\n");
				 }

So far it does what it's told. But I was wondering if there is a list out there with everything for the SystemInformation:: tag thingy.

example:

SystemInformation::Network
SystemInformation::UserName

Any ideas?


Oh yeah, and what do you think of my code? I know it's noobish but hey, I just got started. And plus I decided to go head first and hope I don't hit anything hard rather than read books.
Google is my friend. Google is my book.

This article has been dead for over six months. Start a new discussion instead.