Use FormsAuthentication : FormsAuthentication : Development Class C# Source Code


Custom Search

C# Source Code » Development Class » FormsAuthentication »

 

Use FormsAuthentication








    

using System;
using System.Web.Security;

//MD5Test

class Class1 {

    static void Main(string[] args) {
        string Brian = FormsAuthentication.HashPasswordForStoringInConfigFile("MyPassword", "MD5");
        Console.WriteLine(Brian);
        Brian = FormsAuthentication.HashPasswordForStoringInConfigFile("MyPassword", "sha1");
        Console.WriteLine(Brian);

    }
}

           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» FormsAuthentication