NAudio: .NET Audio and MIDI library

Monday, April 27th, 2009

Want to play MP3 files using C#.NET? Or want to introduce voice recording in your .net application? NAudio is the open source answer for these questions. OverView NAudio is an open source .NET audio and MIDI library, containing dozens of useful audio related classes intended to speed development of audio related utilities in .NET. NAudio [...] Read more »

Code to Send an Email in C#

Wednesday, April 22nd, 2009

Want to send an email from your .net application? Just use the following code and don’t forget to put in the valid SMTP server id in the code and your email will be sent. using System.Web.Mail; private bool SendEmail(string sFrom, string sTo, string sCC, string sBCC, string sSubject, string sMessage, int iMailType) { try { [...] Read more »

Salting the Password in C#

Tuesday, April 21st, 2009

Hashed passwords provide much better security than storing passwords in the database as simple text. They are, however, potentially vulnerable to a dictionary attack. In a dictionary attack, the attacker attempts to guess passwords by using software to iteratively hash all words in a large dictionary and compare the generated hashes to the stored hash [...] Read more »

Hashing the Password in C#

Tuesday, April 21st, 2009

Every application uses username and password to provide security to the systems. The way an application handles the storage of password defines the level of security provided by the application. The password should not be stored in the database as a string. Rather, it should be converted to an unrecognizable value that is unique for [...] Read more »