Condividi tramite


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

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