SPExternalApplicationRequestResult.ClientHash property

When implemented in a derived class, gets a value that is used by the request forwarder of the external application so that it can verify that results it gets from the Microsoft SharePoint Foundation Web application have not been tampered with.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property ClientHash As Byte()
    Get
'Usage
Dim instance As SPExternalApplicationRequestResult
Dim value As Byte()

value = instance.ClientHash
public abstract byte[] ClientHash { get; }

Property value

Type: []
A hash made from the RequestTokenPrefix and salt.

Remarks

Notes to implementers

When implementing in a derived class, consider using the following design: Add a private backing field to the class and have the get accessor of ClientHash return the value of a backing field. The constructor of the derived class should use the value of RequestTokenPrefix and an algorithm (and salt) known to the external application to create the hash value and assign it to a backing field.

See also

Reference

SPExternalApplicationRequestResult class

SPExternalApplicationRequestResult members

Microsoft.SharePoint namespace

Other resources

How to: Create an HTTP Request Forwarder for External Applications