Exemplo n.º 1
0
        public static void Main(string[] args)
        {
            AirPlane.Flight();
            Helicopter.Flight();
            Ufo.Flight();

            FileStream        fs = File.Open("../../Key.snk", FileMode.Open);
            StrongNameKeyPair k  = new StrongNameKeyPair(fs);

            Console.WriteLine($"\nPublic key:\n{BitConverter.ToString(k.PublicKey)}");
            fs.Close();

            Console.ReadKey();
        }