| PageHelperEvaluateSha1 Method |
This is preliminary documentation and is subject to change.
Evaluates SHA1 hash of the specified text content, in UTF-8 encoding.
Namespace: WikiClientLibrary.PagesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static string EvaluateSha1(
string content
)
Public Shared Function EvaluateSha1 (
content As String
) As String
Dim content As String
Dim returnValue As String
returnValue = PageHelper.EvaluateSha1(content)
public:
static String^ EvaluateSha1(
String^ content
)
static member EvaluateSha1 :
content : string -> string
Parameters
- content String
- The text content to be hashed.
Return Value
StringThe lower-case hexadecimal hash string.
Remarks To evaluate the SHA1 hash of sanitized text content (especially when
you are checking revision hash locally before sending remote requests), use
EvaluateSanitizedSha1(String).
See Also