Appearance
ReadAllBytesNoLock Method
Definition
- Namespace:
JASE.IO - Assembly:
JASE.dll
Overloads
| Name | Description |
|---|---|
byte[] ReadAllBytesNoLock(FileInfo fileInfo) | Reads all bytes from a file without holding a long-term exclusive lock. |
byte[] ReadAllBytesNoLock(string filename) | Reads all bytes from a file without holding a long-term exclusive lock. |
byte[] ReadAllBytesNoLock(FileInfo fileInfo)
csharp
byte[] ReadAllBytesNoLock(FileInfo fileInfo)Reads all bytes from a file without holding a long-term exclusive lock.
Parameters
| Name | Description |
|---|---|
fileInfo | The file to read. |
Returns
A byte array containing the file contents.
byte[] ReadAllBytesNoLock(string filename)
csharp
byte[] ReadAllBytesNoLock(string filename)Reads all bytes from a file without holding a long-term exclusive lock.
Parameters
| Name | Description |
|---|---|
filename | The path to the file to read. |
Returns
A byte array containing the file contents.