Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 12.0.0
Syntax public static void WriteAllBytes(
string path,
byte[] bytes
)
Parameters
- path
- Type: SystemString
Path to file - bytes
- Type: SystemByte
Bytes to write
See Also