Click or drag to resize
RESTServiceHelperGetUrlPathAndQueryHash Method
Returns hash string to be used for given URL path and query instead of authentication.

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 12.0.0
Syntax
C#
public static string GetUrlPathAndQueryHash(
	string pathAndQuery
)

Parameters

pathAndQuery
Type: SystemString
URL absolute path and query for which to get the hash (resolved virtual path and query string originating from RewriteRESTUrl(String, String, String, String)).

Return Value

Type: String
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when pathAndQuery is null.
Remarks
The produced hash is invariant of the pathAndQuery trailing slash and optional query string parameters offset and maxrecords.
See Also