Function Reference


Hashes a URL string

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


$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.


#include <WinAPIShPath.au3>

Local $sUrl = ''

ConsoleWrite(_WinAPI_UrlHash($sUrl) & @CRLF)