Calculate file checksum using c#

Calculate file checksum using c# using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace CheckSumTest { class Program { static void Main(string[] args) { string filePath = @”G:\Mahedee_Share\Created\23062014-1\FileDeployManager\FileDeployManager\Form1.cs”; string checksumMd5 = GetFileChecksum(filePath, Algorithms.MD5); string checksumSha1 = GetFileChecksum(filePath, Algorithms.SHA1); string checksumSha256 = GetFileChecksum(filePath, Algorithms.SHA256); string checksumSha384 = GetFileChecksum(filePath, Algorithms.SHA384); string

Read More

ASP.NET Membership Step by Step

ASP.NET provides build in control to validate and store user credential. So, membership helps to manage user authentication and authorization in website. The membership provider is the glue between Login controls and membership database. Step 1: Implementing the Membership and Role Provider Suppose we are going to create a website by Visual Studio 2010. If

Read More

How to register .NET framework in IIS

If you install IIS after installing framework, you have to register framework in IIS. Otherwise you will get following message after hosting asp.net application in IIS. ASP.NET 4.5 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.5 in order for your site to run correctly.

Read More