Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileStream Properties

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubpropertyCanRead

Gets a value indicating whether the current stream supports reading.(Overrides Stream.CanRead.)

System_CAPS_pubpropertyCanSeek

Gets a value indicating whether the current stream supports seeking.(Overrides Stream.CanSeek.)

System_CAPS_pubpropertyCanTimeout

Gets a value that determines whether the current stream can time out.(Inherited from Stream.)

System_CAPS_pubpropertyCanWrite

Gets a value indicating whether the current stream supports writing.(Overrides Stream.CanWrite.)

System_CAPS_pubpropertyHandle

Obsolete. Gets the operating system file handle for the file that the current FileStream object encapsulates.

System_CAPS_pubpropertyIsAsync

Gets a value indicating whether the FileStream was opened asynchronously or synchronously.

System_CAPS_pubpropertyLength

Gets the length in bytes of the stream.(Overrides Stream.Length.)

System_CAPS_pubpropertyName

Gets the name of the FileStream that was passed to the constructor.

System_CAPS_pubpropertyPosition

Gets or sets the current position of this stream.(Overrides Stream.Position.)

System_CAPS_pubpropertyReadTimeout

Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from Stream.)

System_CAPS_pubpropertySafeFileHandle

Gets a SafeFileHandle object that represents the operating system file handle for the file that the current FileStream object encapsulates.

System_CAPS_pubpropertyWriteTimeout

Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from Stream.)

Return to top
Show:
© 2017 Microsoft