.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

EncodingDetector Members

Provides the capability to detect text encoding.

Constructors

Name Description
EncodingDetector() Initializes a new instance of the EncodingDetector class with default settings.

Methods

Name Description
AnalyseData(Byte[], Int32, Int32) Performs encoding detection for the specified sequence of bytes in the byte array.
BeginDetection() Initializes an internal list of detectors for individual encodings and sets the initial detector state.
Detect(Byte[]) Detect character encoding of bytes in the specified range of an array.
Detect(Byte[], Int32, Int32) Detect character encoding of bytes in the specified range of an array.
Detect(Stream) Detect character encoding of bytes in the specified stream.
Detect(Stream, Int32) Detect character encoding of bytes in the specified stream.
Detect(Stream, Int32, Boolean) Detect character encoding of bytes in the specified stream.
EndDetection() Returns the result of encoding detection.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also