FromStream

FromStream(Stream, bool)

Load PST from stream.

public static PersonalStorage FromStream(Stream stream, bool writable)
Parameter Type Description
stream Stream The System.IO.Stream.
writable Boolean if set to true then the the pst will support writing, otherwise it will be opened in read-only mode.

Return Value

A PersonalStorage object that represents the current PST.

See Also


FromStream(Stream, PersonalStorageLoadOptions)

Load PST from stream.

public static PersonalStorage FromStream(Stream stream, PersonalStorageLoadOptions loadOptions)
Parameter Type Description
stream Stream The System.IO.Stream.
loadOptions PersonalStorageLoadOptions The load options.

Return Value

A PersonalStorage object that represents the current PST.

See Also


FromStream(Stream)

Load PST from stream.

public static PersonalStorage FromStream(Stream stream)
Parameter Type Description
stream Stream The System.IO.Stream.

Return Value

A PersonalStorage object that represents the current PST.

Remarks

By default, the pst will support writing.

See Also


FromStream(Stream, CancellationToken)

Load PST from file.

public static PersonalStorage FromStream(Stream stream, CancellationToken token)
Parameter Type Description
stream Stream The System.IO.Stream.
token CancellationToken Propagates 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


FromStream(Stream, bool, CancellationToken)

public static PersonalStorage FromStream(Stream stream, bool writable, CancellationToken token)

See Also


FromStream(Stream, PersonalStorageLoadOptions, CancellationToken)

Load PST from file.

public static PersonalStorage FromStream(Stream stream, PersonalStorageLoadOptions loadOptions, 
    CancellationToken token)
Parameter Type Description
stream Stream The System.IO.Stream.
loadOptions PersonalStorageLoadOptions The load options.
token CancellationToken Propagates 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