File WriteAllBytes Method Kentico 8.0 API Reference
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.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

path
Type: OnlineSystem String
Path to file
bytes
Type:  OnlineSystem Byte 
Bytes to write
See Also