Show / Hide Table of Contents

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
ReadOnlySpan<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.

In this article
Back to top Generated by DocFX