Opens a read stream from the item.
Note all items don't support streaming.
Namespace:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public Stream OpenRead(
FileShare share = FileShare.Read,
bool throwOnError = true
)
Parameters
- share (Optional)
- Type: System.IOFileShare
A constant that determines how the file will be shared by processes. - throwOnError (Optional)
- Type: SystemBoolean
true to throw error; otherwise false.
Return Value
Type:
Stream
An instance of Stream or null if an error occurred.
See Also