static void Main(string[] args) { Console.WriteLine("Usage: qetag <path>-----" + @"c:\test\MyTest.txt"); string path = Console.ReadLine(); QETag etag = new QETag(); try { Console.WriteLine(etag.calcETag(path)); } catch (Exception ex) { Console.WriteLine("Unsupported algorithm:" + ex.Message); } Console.WriteLine("algorithm-hash-etag"); Console.Read(); }