| FileUndoHelperGetCustomHeaderAsync Method |
[This is preliminary documentation and is subject to change.]
Asynchronously reads the custom header bytes from a undo-index-file.
Namespace:
CalculationWorks.BusinessModel.UndoSerialization
Assembly:
CalculationWorks.BusinessModel.UndoSerialization (in CalculationWorks.BusinessModel.UndoSerialization.dll) Version: 4.0.0-beta7
Syntax public static Task<byte[]> GetCustomHeaderAsync(
Stream stream
)
Public Shared Function GetCustomHeaderAsync (
stream As Stream
) As Task(Of Byte())
Parameters
- stream
- Type: System.IOStream
The stream.
Return Value
Type:
TaskByteA task that represents the asynchronous read operation. The value of
Result will be
null if the file does not contains expected format.
Exceptions See Also