File.ReadAllBytes
public static byte[] ReadAllBytes(string path);
Parameters
| path | The file to open for reading. |
Description 描述
Opens a binary file, reads the contents of the file into a byte array, and then closes the file.
| path | The file to open for reading. |
Opens a binary file, reads the contents of the file into a byte array, and then closes the file.