Walter.BOM
WriteFile(FileInfo,Byte[]) Method
Walter.BOM Assembly > Walter.BOM Namespace > IControlledDiskIO Interface > WriteFile Method : WriteFile(FileInfo,Byte[]) Method
file that will be allowed to be created or replaced
The byte data that is to be stored.
Writes the file to disk, will create the directory if needed. Will replace any data in file exists
Syntax
void WriteFile( 
   FileInfo file,
   byte[] bytes
)

Parameters

file
file that will be allowed to be created or replaced
bytes
The byte data that is to be stored.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IControlledDiskIO Interface
IControlledDiskIO Members
Overload List