AbstractFile WriteAllBytes Method Kentico 8.1 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.1.5347.20411)

Parameters

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