FileStream
FileStream(nint, FileAccess)
FileStream(SafeFileHandle, FileAccess)
FileStream(String, FileMode)
FileStream(String, FileStreamOptions)
FileStream(nint, FileAccess, Boolean)
FileStream(SafeFileHandle, FileAccess, Int32)
FileStream(String, FileMode, FileAccess)
FileStream(nint, FileAccess, Boolean, Int32)
FileStream(SafeFileHandle, FileAccess, Int32, Boolean)
FileStream(String, FileMode, FileAccess, FileShare)
FileStream(nint, 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)
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)
net10.0
namespace System.IO
{
public class FileStream : Stream
{
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This constructor has been deprecated. Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) and optionally make a new SafeFileHandle with ownsHandle=false if needed instead.")]
public FileStream(IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 5.06.07.08.09.010.0 |
| .NET Core | 3.03.1 |
| .NET Framework | 2.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net10.0 | |
| Assembly | System.Runtime , Version=10.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | The API is automatically referenced. |
| Obsolete | This constructor has been deprecated. Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) and optionally make a new SafeFileHandle with ownsHandle=false if needed instead. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API