Function Reference


_WinAPI_UrlHash

Hashes a URL string

#include <WinAPIShPath.au3>
_WinAPI_UrlHash ( $sUrl [, $iLength = 32] )

Parameters

$sUrl The URL.
$iLength [optional] The length of the hash data, in bytes. It should be no larger than 256, otherwise, the function fails. Default is 32.

Return Value

Success: The hash data in binary form.
Failure: Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

See Also

Search UrlHash in MSDN Library.

Example

#include <WinAPIShPath.au3>

Local $sUrl = 'http://www.microsoft.com'

ConsoleWrite(_WinAPI_UrlHash($sUrl) & @CRLF)