Feeds:
Posts
Comments

Archive for May, 2009

Below is a sample code which performs MD5 hash algorithm on a simple string. public string GetMD5Hash(string input) { // Create object of MD5 crypto service provider. System.Security.Cryptography.MD5CryptoServiceProvider x = new System.Security.Cryptography.MD5CryptoServiceProvider(); // Convert the string into byte array. byte[] bs = System.Text.Encoding.UTF8.GetBytes(input); // Perform ComputeHash on the byte array which will return the hash [...]

Read Full Post »

Recently I came across a requirement to write logs in Sharepoint log files. Add Microsoft.Office.Server dll in your project, you can find this dll under “\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI\”. The log files are found under \Common Files\Microsoft Shared\Web Server Extensions\12\Log\. Following line of code is used to write exception in sharepoint default log file. [...]

Read Full Post »

Based on its name its concluded that USB 2.0 Storage Device is used as a storage medium.But Windows Vista has came up with an amazing feature of using the Storage device as RAM. The featureĀ  is called ReadyBoost. This feature enables the use of a USB storage device instead of the slow paging file on [...]

Read Full Post »

Technically speaking Motivation is the set of reasons that determines one to engage in a particular behavior.But in general definition it’s a set of magical words which acts as an energizer for an individual. Being a human we have many goals.To achieve it we practice step by step process in achieving that goal,so we set [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.