SymmetricAlgorithm.SetKey(ReadOnlySpan<Byte>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the key for this instance.
public:
void SetKey(ReadOnlySpan<System::Byte> key);
public void SetKey(ReadOnlySpan<byte> key);
member this.SetKey : ReadOnlySpan<byte> -> unit
Public Sub SetKey (key As ReadOnlySpan(Of Byte))
Parameters
- key
- ReadOnlySpan<Byte>
The new key for this instance.