FileStream
FileStream(IntPtr, FileAccess)
FileStream(SafeFileHandle, FileAccess)
FileStream(String, FileMode)
FileStream(String, FileStreamOptions)
FileStream(IntPtr, FileAccess, Boolean)
FileStream(SafeFileHandle, FileAccess, Int32)
FileStream(String, FileMode, FileAccess)
FileStream(IntPtr, FileAccess, Boolean, Int32)
FileStream(SafeFileHandle, FileAccess, Int32, Boolean)
FileStream(String, FileMode, FileAccess, FileShare)
FileStream(IntPtr, FileAccess, Boolean, Int32, Boolean)
FileStream(String, FileMode, FileAccess, FileShare, Int32)
FileStream(String, FileMode, FileAccess, FileShare, Int32, Boolean)
FileStream(String, FileMode, FileAccess, FileShare, Int32, FileOptions)
FileStream(String, FileMode, FileSystemRights, FileShare, Int32, FileOptions)
FileStream(String, FileMode, FileSystemRights, FileShare, Int32, FileOptions, FileSecurity)
~FileStream()
CanRead
CanSeek
CanWrite
Handle
IsAsync
Length
Name
Position
SafeFileHandle
BeginRead(Byte[], Int32, Int32, AsyncCallback, Object)
BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object)
Close()
CopyTo(Stream, Int32)
CopyToAsync(Stream, Int32, CancellationToken)
Dispose(Boolean)
DisposeAsync()
EndRead(IAsyncResult)
EndWrite(IAsyncResult)
Flush()
Flush(Boolean)
FlushAsync(CancellationToken)
GetAccessControl()
Lock(Int64, Int64)
Read(Byte[], Int32, Int32)
Read(Span<Byte>)
ReadAsync(Byte[], Int32, Int32, CancellationToken)
ReadAsync(Memory<Byte>, CancellationToken)
ReadByte()
Seek(Int64, SeekOrigin)
SetAccessControl(FileSecurity)
SetLength(Int64)
Unlock(Int64, Int64)
Write(Byte[], Int32, Int32)
Write(ReadOnlySpan<Byte>)
WriteAsync(Byte[], Int32, Int32, CancellationToken)
WriteAsync(ReadOnlyMemory<Byte>, CancellationToken)
WriteByte(Byte)
GetAccessControl(FileStream)
SetAccessControl(FileStream, FileSecurity)
netcoreapp2.2
namespace System.IO
{
public class FileStream : Stream
{
[Obsolete("This constructor has been deprecated. Please use new FileStream(SafeFileHandle handle, FileAccess access, int bufferSize, bool isAsync) instead, and optionally make a new SafeFileHandle with ownsHandle=false if needed. http://go.microsoft.com/fwlink/?linkid=14202")]
public FileStream(IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync);
}
}
| NetFx Compat Lab | 0.5 % Reference this API |
|---|---|
| Upgrade Planner | 0.0 % Reference this API |
| .NET | 5.06.07.08.09.010.011.0 |
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 1.01.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to netcoreapp2.2 | |
| Assembly | System.Runtime , Version=4.2.1.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | The API is automatically referenced. |
| Obsolete | This constructor has been deprecated. Please use new FileStream(SafeFileHandle handle, FileAccess access, int bufferSize, bool isAsync) instead, and optionally make a new SafeFileHandle with ownsHandle=false if needed. http://go.microsoft.com/fwlink/?linkid=14202 |
| Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API