For my part, I assign this function, which I use to get the gravatar profile profile:
you can use it however you want
public string getGravatarPicture() { MD5 md5 = new MD5CryptoServiceProvider(); Byte[] originalBytes = ASCIIEncoding.Default.GetBytes(email.ToLower()); Byte[] encodedBytes = md5.ComputeHash(originalBytes); string hash = BitConverter.ToString(encodedBytes).Replace("-", "").ToLower(); return "http://www.gravatar.com/avatar/"+hash+"?d=mm"; }
source share