public static string GenerateGravatarUrl(string email, int size = 0) { V_0 = MD5.Create(); try { V_1 = V_0.ComputeHash(Encoding.get_UTF8().GetBytes(email)); V_2 = new StringBuilder((int)V_1.Length * 2); V_3 = 0; while (V_3 < (int)V_1.Length) { dummyVar0 = V_2.Append(V_1[V_3].ToString("X2")); V_3 = V_3 + 1; } stackVariable30 = V_2.ToString().ToLower(); if (size > 0) { stackVariable36 = String.Concat("?s=", size.ToString()); } else { stackVariable36 = ""; } V_4 = String.Concat("https://www.gravatar.com/avatar/", stackVariable30, stackVariable36); } finally { if (V_0 != null) { ((IDisposable)V_0).Dispose(); } } return(V_4); }