Opens a binary file, reads the contents of the file into a byte array, and then closes the file.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 11.0.0
Syntax public static byte[] ReadAllBytes(
string path
)
Parameters
- path
- Type: SystemString
Path to file
Return Value
Type:
ByteSee Also