AesCryptoServiceProvider aesAlg = new AesCryptoServiceProvider()
var iv = aesAlg.GenerateIV();
Do you know what the length of iv? Is it fixed with byte[16]?
Another question is: what is the length requirement of initialization vector of AesCryptoServiceProvider?