Tag Archives: C#
Since some people were interested on how to get all the Window processes, I decided to make this tutorial. How you tailor it to your needs is up to you.
We start off by referencing
System.Management and adding the following on the top of our Form/Class:
Then we need to declare our main classes. In this case that would be
ManagementObjectCollection in order to help us loop through the active process. Note that this can also be done by
Process.GetProcesses() but there is a limitation.
Process.GetProcesses() can only see the same bit process as your .exe files. So using that mean we wont be able to see all the processes, hence why we are using the two classes I mentioned above instead.
ManagementClass management = new ManagementClass("Win32_Process");
ManagementObjectCollection mCollection = management.GetInstances();
After that we need to create our foreach loop which will help us get the information for each process we find and also a new listviewitem which we will be adding to our listview at the end of the loop so we can see the results.
foreach (ManagementObject process in mCollection)
ListViewItem newListViewItem = new ListViewItem();
For the sake of this tutorial we will only be concentrating in the process id/name/location and finally the description.
TextCrypt Suite is a small/portable program that allows you to use various encryption algorithms to encrypt or decrypt text data.
TextCrypt Suite is now available to download from the download section. For any feedback, bugs or any suggestion for adding more algorithms please don’t hesitate to post in the forums or email me.
Imgur is a small, portable program that allows you to upload and share images using imgur without ever visiting the website just with a single drag and drop and the click of a button.
Keep in mind that Imgur has some limitations to uploads:
Is there a maximum file size I can upload?
The maximum non-animated file size you can upload is 10MB. However, if the image is over 1MB then it will automatically be compressed or resized to 1MB, for better viewing on the net. The maximum animated file size (both GIF and PNG) is 2MB.
ImgurUL is now available to download from the download section. For any feedback or bugs please don’t hesitate to post in the forums or email me.