ReadMsrootsStream Method
ReadMsrootsStream()
Returns the contents of the MSROOTS data objects as a Stream
.
C#
public Stream ReadMsrootsStream()
Returns
System.IO.Stream
A new Stream
which will be readable and will contain the
MSROOTS contents.
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The YubiKey encountered an error, such as an unreliable connection. |
Remarks
This is the same as the ReadMsroots() method that returns a byte
array, except this method returns a Stream
.