Click or drag to resize

FileUtilGetFileStreamAndEncoding Method

Get a FileStream for the specified file name, also checking if it has a BOM or a valid UTF8 sequence.

Namespace:  Nova.Utilities
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static FileStream GetFileStreamAndEncoding(
	string fileName,
	out bool isUTF8,
	out bool hasBOM
)

Parameters

fileName
Type: SystemString
isUTF8
Type: SystemBoolean
hasBOM
Type: SystemBoolean

Return Value

Type: FileStream
See Also