public static byte[] CreateKey() { using (var aes = CreateSymmetricAlgorithm()) { return aes.Key; } }