How to register a global hotkey for your application in C#

How to register a global hotkey for your application in C#

Register a hotkey for your application that can be triggered even if your form is minimized and does not have focus. More »

How to download a file in C# (progressbar and download speed)

How to download a file in C# (progressbar and download speed)

Learn how to download files in C# while displaying the percentage and the download speed. More »

UDP hole punching implementation in C#

UDP hole punching implementation in C#

Learn how to implement UDP hole punching so you can make your clients life a lot easier by not forcing them to open ports on their end. More »

 

File Concealer v1.1

File Concealer is a simple and fun idea. What this allows you to do is to hide a .rar or a .zip file inside a picture file (tested a few common extensions like .jpg .png, .gif etc). After you merge the files the you will still be able to view the image like you normally would. But now you will also be able to right click and open it with winrar/or winzip, depeding on the file you used, to access the contents of the .rar you merged it with.

Usage:
Drag&Drop the files you want to use to the proper locations or click the boxes. Then just choose where to save the file and press merge.

Note:
There seems to be an issue sometimes where not all image types will work, regardless if they are the same extension. That is sadly OS/image related issues so there isn’t much we can really do about it. Same goes with the archive files. In my case I had more success using .rar files than .zip files.

File Concealer main window

Share on FacebookTweet about this on TwitterShare on Google+Share on StumbleUponShare on LinkedInShare on RedditPin on PinterestShare on TumblrDigg thisPrint this pageEmail this to someone

List all Windows services in C#

I decided to make a tutorial to help the ones that were interested to learn how to go over the Windows services so they can either start/stop/pause them or just display them in a control. The code I’ll be showing is from a program I created with the purpose of listing all the services info in a listview control.

The first steps you will need to take is reference “System.ServiceProcess” which will allow us to use the ServiceController class and also add the following code on the top of our Form/Class:

We start by declaring our ServiceController class and populating it with all the services that currently run in the system using .GetServices();

Then we need to use a foreach loop in order to go through all the services. For the sake of this tutorial I’ll be using only one try/catch, usually you will want more to display more accurate info based on what info you fail to retrieve, in this case if an error occurs the whole service won’t be added to the list.

It’s time to start populating our ListView columns. The columns we will be using is the services name/status/location/description. To do that we need to first declare a new ListViewItem that we will be using to add the information. The service name and status info are easy to obtained using the ServiceController class as follows:

Share on FacebookTweet about this on TwitterShare on Google+Share on StumbleUponShare on LinkedInShare on RedditPin on PinterestShare on TumblrDigg thisPrint this pageEmail this to someone

List Windows active processes in 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 ManagementClass and 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.

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.

For the sake of this tutorial we will only be concentrating in the process id/name/location and finally the description.

Share on FacebookTweet about this on TwitterShare on Google+Share on StumbleUponShare on LinkedInShare on RedditPin on PinterestShare on TumblrDigg thisPrint this pageEmail this to someone

New web hosting

We finally managed to move our website to a new web hosting provider. Everything should be working like before but if you find any missing links please report them to us so we can fix them ASAP.

Share on FacebookTweet about this on TwitterShare on Google+Share on StumbleUponShare on LinkedInShare on RedditPin on PinterestShare on TumblrDigg thisPrint this pageEmail this to someone

TextPLAY released!

TextPLAY is a simple application for some basic text manipulation and the ability to add different symbols. Using TextPLAY you can easily reverse, make you text look upside down and/or add a variety of symbols!

TextPLAY main window

TextPLAY requires windows Vista/Windows 7 or above due to the reason that older versions do not support the majority of symbols used in the program.

You can download the program using the download gallery that can be found here. For any feedback, bugs or any suggestion for adding more algorithms please don’t hesitate to post in the forums or email me.

Share on FacebookTweet about this on TwitterShare on Google+Share on StumbleUponShare on LinkedInShare on RedditPin on PinterestShare on TumblrDigg thisPrint this pageEmail this to someone