This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // -------------------------------- | |
| // <copyright file="FacebookOAuthClient.cs" company="Thuzi LLC (www.thuzi.com)"> | |
| // Microsoft Public License (Ms-PL) | |
| // </copyright> | |
| // <author>Nathan Totten (ntotten.com), Jim Zimmerman (jimzimmerman.com) and Prabir Shrestha (prabir.me)</author> | |
| // <license>Released under the terms of the Microsoft Public License (Ms-PL)</license> | |
| // <website>http://facebooksdk.codeplex.com</website> | |
| // --------------------------------- | |
| namespace Facebook | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // ----------------------------------------------------------------------- | |
| // <copyright file="ShellIcon.cs" company="Mauricio DIAZ ORLICH ([email protected])"> | |
| // Distributed under Microsoft Public License (MS-PL). | |
| // http://www.opensource.org/licenses/MS-PL | |
| // </copyright> | |
| // ----------------------------------------------------------------------- | |
| /// <summary> | |
| /// Get a small or large Icon with an easy C# function call | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public static string MD5Hash(string toHash) | |
| { | |
| string hashed; | |
| using (MD5 md5 = MD5.Create()) | |
| { | |
| hashed = string.Join(string.Empty, md5.ComputeHash(Encoding.UTF8.GetBytes(toHash)).Select(b => b.ToString("x2"))); | |
| } | |
| return hashed; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var nvc = new NameValueCollection | |
| { | |
| { "key1", "value1" }, | |
| { "key2", "value2" }, | |
| { "key3", "" } | |
| }; | |
| var builder = new UriBuilder("http://www.example.com"); | 
NewerOlder