using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { Int64 SteamId = 76561197996545192; byte[] parts = { 0x42, 0x45, 0, 0, 0, 0, 0, 0, 0, 0 }; byte counter = 2; do { parts[counter++] = (byte)(SteamId & 0xFF); } while ((SteamId >>= 8) > 0); MD5 md5 = new MD5CryptoServiceProvider(); byte[] beHash = md5.ComputeHash(parts); StringBuilder sb = new StringBuilder(); for (int i = 0; i < beHash.Length; i++) { sb.Append(beHash[i].ToString("x2")); } Console.Out.WriteLine(sb.ToString()); Console.In.Read(); } } }