byte[] key = { 0x01, 0x02, 0x03 };
byte[] keybackup = (byte[]) key.Clone ();
kh.Key = key;
// the KeyedHashAlgorithm use a copy of the key (not a reference to)
key [0] = 0x00;
byte[] key = { 0x01, 0x02, 0x03 };
byte[] keybackup = (byte[]) key.Clone ();
kh.Key = key;
// the KeyedHashAlgorithm use a copy of the key (not a reference to)
key [0] = 0x00;