Click or drag to resize

PageHelperEvaluateSanitizedSha1 Method

This is preliminary documentation and is subject to change.

Evaluates SHA1 hash of the sanitized version of specified text content, in UTF-8 encoding.

Namespace: WikiClientLibrary.Pages
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax
public static string EvaluateSanitizedSha1(
	string content
)

Parameters

content  String
The text content to be hashed.

Return Value

String
The lower-case hexadecimal hash string.
Remarks

You may compare the returned hash directly to Sha1 to determine whether certain remote revision is much likely to have the same content as specified by content.

Due to the limitation of offline normalization, the SHA1 evaluated locally could still be different from the server-side value. See the "Remarks" section of for more information.

See Also