PersonalStorage.FromStreamAsync

FromStreamAsync(Stream, CancellationToken)

Load PST from file.

public static Task<PersonalStorage> FromStreamAsync(Stream stream, 
    CancellationToken token = default)
ParameterTypeDescription
streamStreamThe System.IO.Stream.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

A PersonalStorage object that represents the current PST.

Remarks

By default, the pst will support writing.

See Also


FromStreamAsync(Stream, bool, CancellationToken)

public static Task<PersonalStorage> FromStreamAsync(Stream stream, bool writable, 
    CancellationToken token = default)

See Also


FromStreamAsync(Stream, PersonalStorageLoadOptions, CancellationToken)

Load PST from file.

public static Task<PersonalStorage> FromStreamAsync(Stream stream, 
    PersonalStorageLoadOptions loadOptions, CancellationToken token)
ParameterTypeDescription
streamStreamThe System.IO.Stream.
loadOptionsPersonalStorageLoadOptionsThe load options.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

A PersonalStorage object that represents the current PST.

Remarks

By default, the pst will support writing.

See Also