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.FileSystemStorage
Assembly: CMS.FileSystemStorage (in CMS.FileSystemStorage.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