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)
Available in Sandboxed Solutions: No

public abstract byte[] ClientHash { get; }

Property Value

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

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.

Show:
© 2015 Microsoft