SubmitValue Method
SubmitValue(ReadOnlySpan<Byte>)
Submit the requested value, when there is only one value to submit.
C#
public void SubmitValue(ReadOnlySpan<byte> value)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlySpan<System.Byte> | value | The actual key, PIN, password, or whatever was requested. |
Remarks
When the KeyCollector
delegate obtains the value to return
(the key, PIN, password, or whatever was requested), it calls this
method to load it into the KeyEntryData
object. The code that
called the KeyCollector
will be able to get the data returned
using the GetCurrentValue
method.
Note that the KeyEntryData
object will copy the value passed
in (it will not simply copy a reference). Therefore, it is safe to
overwrite the data once SubmitValue
has completed.
This method will store the value submitted as the current value.