Returns the contents of a file in an abstract file provider as a byte array.
Overload List
| Overload | Description |
| ReadAllBytes(IFileInfo) | Returns the contents of a file in an abstract file provider as a byte array.Returns the contents of a file in an abstract file provider as a byte array. |
| ReadAllBytes(IFileInfo,Int32) | Returns the contents of a file in an abstract file provider as a byte array, specifying a buffer size. |
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also