Open FileName as a new FileStream. If file exists it will be overridens. (another process cannot write to the stream)

Namespace:  Hyleos.Common.IO
Assembly:  Hyleos.Common (in Hyleos.Common.dll) Version: 1.0.3.2 (1.0.3.2)

Syntax

C#
public static FileStream CreateFile(
	string filename
)
Visual Basic (Declaration)
Public Shared Function CreateFile ( _
	filename As String _
) As FileStream
Visual C++
public:
static FileStream^ CreateFile(
	String^ filename
)

Parameters

filename
Type: System..::.String
File name to create

Return Value

FileStream handler

See Also