Here's a C# console application that will find if a given number is prime by displaying all of its factors.
Download Binary and Source: PrimeFind.zip - 4.73 KB - 10-31-2008