I want to generate AES encryption key to be sent to the the other party in order to communicate securely. In the beginning the two nodes will create a shared session key by using Deffie-Helman protocol, then one of them will genreate AES key and send it to the other node through the secure channel(i.e. DH protocol).
So Could you please help in generating AES-256 bits in C# without using it to encrypt any plaintext. I just want the key itself.