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.2+447d1d590e6726b7881f750a0a0e42908f3e417e
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