Thursday, February 12, 2009

Splitting and joining files

In this article I'm going to teach you how to build simple file splitter and joining program.This simple application allow you to split single file into many output file and also it allows you to recombine them together.

By using this application you can send the executable file through the email attachment.Because lot of email providers do not allow to send executable file as a attachment.But if you can split executable file into many out put then you can send them as a email attachment.and receiver can reconstruct the files again.

First We will design the the form.



For develop this application we want to use FileStream and FileInfo classes.So we need to add System.IO statement.

Here is the coding part for this application.And most of the part commented.


Creating a Port Scanner with C# Windows Forms Application

This simple application will allows you scan Open port of your PC.And this small application will help to to check the security of your PC.

here we are going to use TCPClient to check whether port is open or not.That means if TCPClient connected with the port then port is Opened.Other wise port is closed.

First We will design the Interface.



And the you can see the coding part below.



And final out put will be look like this.