ShlwApiUrlHash Method

Hashes a URL string.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ShlwApi.dll", CharSet = CharSet.Auto, BestFitMapping = false, 
	ThrowOnUnmappableChar = true)]
public static HResult UrlHash(
	string url,
	IntPtr hash,
	uint hashSize
)

Parameters

url  String
A null-terminated string of maximum length INTERNET_MAX_URL_LENGTH that contains the URL.
hash  IntPtr
A pointere to a buffer that, when this function returns successfully, receives the hashed array.
hashSize  UInt32
The number of elements in the array at hash. It should be no larger than 256.

Return Value

HResult
If this function succeeds, it returns S_OK. Otherwise, it returns an HResult error code.

Remarks

See Also