csharp

View Source of a Website using C#

Submitted by donbermoy on
This is a simple tutorial in which we are going to create a program that views a source of a website using C#. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add two TextBoxes named TextBox1 for inputting a URL from the site, and TextBox2 for viewing the page source of the site.

Validate Phone Number using C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that will validate an inputted phone number using C#. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add one TextBox named TextBox1 which will be used to input the phone number.

Display MAC Address using Local IP in C#

Submitted by donbermoy on
In this tutorial, i will teach you how to create a program that displays a MAC Address using Local IP in C#. We all know that a MAC (Media Access Control) address is a number that identifies the network adapter(s) installed on your computer. The address is composed of up to 6 pairs of characters, separated by colons. You may need to provide your MAC address to a router in order to successfully connect to a network. There are so many ways to find the MAC Address of your PC.

Load and Display Contents of RTF File in a RichTextBox in C#

Submitted by donbermoy on
In this tutorial, I will teach you how to create a program that will load and display the contents of an RTF File in a RichTextBox using VB.NET. RTF means Rich Text Format and is a text file format used by Microsoft products. RTF files support text style formatting, as well as images within the text. Now, let's start this tutorial! 1.

Get the Number of Occurences of a Text in a ListBox using C#

Submitted by donbermoy on
In this C# tutorial, we will create a program that can determine the most repeated string or text inputted that is displayed in the ListBox. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2.

How to hava a Complex Password in C#

Submitted by donbermoy on
Today in C#, we will create a program that can determine if the inputted password is complex or not. Strong passwords meet a number of requirements for complexity - including length and character categories - that make passwords more difficult for attackers to determine. Establishing strong password policies for your organization can help prevent attackers from impersonating users and can thereby help prevent the loss, exposure, or corruption of sensitive information. Now, let's start this tutorial! 1.

Random Line of Text Selector in C#

Submitted by donbermoy on
This tutorial will teach you how to create a program that selects a line of text from a text file using C#. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Applicationin C# for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add a button named Button1 to have the random line selector.

Get Name of Multiple TextBoxes Control in C#

Submitted by donbermoy on
This is a simple tutorial in which we are going to get all the name of multiple textboxes in C# using a loop. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Drag any textbox that you want and only one Button.

Time Interval in C#

Submitted by donbermoy on
Today in C#, i will teach you to get a time interval in C#. In here, we will use the TimeSpan properties for getting the time interval. It segregates the hours, minutes, seconds, millisecond and even the tick of the clock. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application and name it as TimeInterval. 2.

Proxy Checker using C#

Submitted by donbermoy on
In this tutorial, we will create a proxy checker program which will test a list of proxies and report if they respond within a faster time. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add three buttons for starting the checker, exporting all the reports and exporting the working reports; add also a ListBox that will contain the reports of each proxy. 3.