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