public void Action(string keyFile) { byte[] key = AesCryptography.GenerateKey(); this.FileSystem.WriteAllBytes(keyFile, key); }