Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

EncodingDetector.Detect Method

Name Parameters Description
Detect(Byte[], Int32, Int32) buffer, from, length Detect character encoding of bytes in the specified range of an array.
Detect(Byte[]) buffer Detect character encoding of bytes in the specified range of an array.
Detect(Stream, Int32, Boolean) stream, maxByteCount, keepPosition Detect character encoding of bytes in the specified stream.
Detect(Stream, Int32) stream, maxByteCount Detect character encoding of bytes in the specified stream.
Detect(Stream) stream Detect character encoding of bytes in the specified stream.