Tag Archives: check
Unit testing framework for C

Check is a unit testing framework for C. It features a simple interface for defining unit tests, putting little in…

How to check the machine type in C#

public enum ChassisTypes { Other = 1, Unknown, Desktop, LowProfileDesktop, PizzaBox, MiniTower, Tower, Portable, Laptop, Notebook, Handheld, DockingStation, AllInOne, SubNotebook,…

How to avoid repeating code to check if a user is logged in

First of all create your own Controller that all other controllers will inherit from. Name it Mycontroller, for example: defined(’SYSPATH’)…

Check if file is in use in C#

There is no build-in function in c# to check if a file is in use. You can just try to…

Check for null passwords in Sql Server

One of the many ways to secure SQL Server is to review all passwords. You must also check for null…

Check whether the system is 32 bit or 64 bit

Check if the system is 64 bit. public Boolean Is64Bit_1() { return System.Environment.GetEnvironmentVariable("ProgramW6432") != ""; }public Boolean Is64Bit_1() { return…

Check if computer is alive with C#

To check if a computer in the network is alive we are going to ping it through C# and Ping…

SMTP Users enumeration

* Open your BackTrack machine * GoTo Applications->BackTrack->Information Gathering->Network Analysis->SMTP Analysis * Choose smtp-user-enum * Execute: ./smtp-user-enum.pl -v -M RCPT…

Check file extension in C

Don’t forget to define true and false constants. #define TRUE 1 #define FALSE 0#define TRUE 1 #define FALSE 0 int…

Check if file exists in C

Don’t forget to define true and false constants. #define TRUE 1 #define FALSE 0#define TRUE 1 #define FALSE 0 int…

Next Page